diff options
Diffstat (limited to '')
| -rw-r--r-- | .vim/lua/conf/treesitter.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.vim/lua/conf/treesitter.lua b/.vim/lua/conf/treesitter.lua new file mode 100644 index 0000000..79763b8 --- /dev/null +++ b/.vim/lua/conf/treesitter.lua @@ -0,0 +1,21 @@ + +require 'nvim-treesitter.configs'.setup { + ensure_installed = { "c", "c_sharp", "lua", "bash" }, + highlight = { + enable = false, + }, + refactor = { + navigation = { + enable = true, + keymaps = { + goto_definition = "<c-]>", + }, + }, + smart_rename = { + enable = true, + keymaps = { + smart_rename = "grr", + }, + }, + }, +} |