From 04db98668639cb0b431d50e5963f6b156d728078 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 7 Dec 2020 19:15:23 +0100 Subject: vim: big update; move lots of things to lua --- .vim/lua/conf/treesitter.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .vim/lua/conf/treesitter.lua (limited to '.vim/lua/conf/treesitter.lua') 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 = "", + }, + }, + smart_rename = { + enable = true, + keymaps = { + smart_rename = "grr", + }, + }, + }, +} -- cgit 1.4.1