Files
dots/home/editors/nvim/plugins/treesitter/settings.nix
2025-12-01 18:24:34 +01:00

84 lines
1.0 KiB
Nix

{
indent.enable = true;
highlight.enable = true;
ensureInstalled = [
"bash"
"lua"
"nix"
"c"
"cpp"
"make"
"cmake"
"rust"
"dockerfile"
"go"
"gomod"
"gosum"
"css"
"html"
"templ"
"tsx"
"astro"
"javascript"
"typescript"
"xml"
"json"
"yaml"
"toml"
"sql"
"http"
"graphql"
"python"
"requirements"
"regex"
"comment"
"latex"
"markdown"
"markdown_inline"
"diff"
"gitignore"
"git_config"
"gitattributes"
"dart"
"java"
"hyprlang"
];
refactor = {
highlight_definitions.enable = true;
highlight_current_scope = true;
};
endwise.enable = true;
matchup = {
enable = true;
include_match_words = true;
};
incremental_selection = {
enable = true;
keymaps = {
init_selection = "<C-Space>";
node_incremental = "v";
scope_incremental = false;
node_decremental = "V";
};
};
playground.enable = true;
}