diff options
author | Chris <[email protected]> | 2020-10-28 02:53:08 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-10-28 02:53:08 -0400 |
commit | e49f1c6a284a19cd53f10eacefb3cbca78fde5b9 (patch) | |
tree | 9234507a0b62e92316714e3abe80b6282d1dd7dc /lua/treesitter.lua | |
parent | ab0eb1b4230a67bd5912fb2c93a53d829271c546 (diff) |
added barbar
Diffstat (limited to 'lua/treesitter.lua')
-rw-r--r-- | lua/treesitter.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/treesitter.lua b/lua/treesitter.lua index 106c3731..4506f9c3 100644 --- a/lua/treesitter.lua +++ b/lua/treesitter.lua @@ -14,3 +14,22 @@ require "nvim-treesitter.configs".setup { persist_queries = false -- Whether the query persists across vim sessions } } + +require'nvim-treesitter.configs'.setup { + refactor = { + highlight_current_scope = { enable = false }, + }, +} + +require'nvim-treesitter.configs'.setup { + refactor = { + smart_rename = { + enable = true, + keymaps = { + smart_rename = "grr", + }, + }, + }, +} + + |