From 1996ef15613f2d4773017128bba1a719a1b63a19 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sat, 20 Feb 2021 21:27:26 +0100 Subject: Move to lua based vimrc --- .vim/lua/plugins/_treesitter.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .vim/lua/plugins/_treesitter.lua (limited to '.vim/lua/plugins/_treesitter.lua') 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 = "", + }, + }, + smart_rename = { + enable = true, + keymaps = { + smart_rename = "grr", + }, + }, + }, +} -- cgit 1.4.1