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