Initial commit
This commit is contained in:
83
home/editors/nvim/plugins/treesitter/settings.nix
Normal file
83
home/editors/nvim/plugins/treesitter/settings.nix
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user