From 82a8b859c6377a03e0c4d33b8b045548568c7aef Mon Sep 17 00:00:00 2001 From: Steven Sojka Date: Wed, 16 Sep 2020 07:03:22 -0500 Subject: chore(modules): remove refactor module --- lua/nvim-treesitter/configs.lua | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'lua/nvim-treesitter/configs.lua') diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index bb3a98bd..b3877345 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -46,41 +46,6 @@ local builtin_modules = { }, is_supported = queries.has_locals }, - refactor = { - highlight_definitions = { - module_path = 'nvim-treesitter.refactor.highlight_definitions', - enable = false, - disable = {}, - is_supported = queries.has_locals - }, - highlight_current_scope = { - module_path = 'nvim-treesitter.refactor.highlight_current_scope', - enable = false, - disable = {}, - is_supported = queries.has_locals, - }, - smart_rename = { - module_path = 'nvim-treesitter.refactor.smart_rename', - enable = false, - disable = {}, - is_supported = queries.has_locals, - keymaps = { - smart_rename = "grr" - } - }, - navigation = { - module_path = 'nvim-treesitter.refactor.navigation', - enable = false, - disable = {}, - is_supported = queries.has_locals, - keymaps = { - goto_definition = "gnd", - list_definitions = "gnD", - goto_next_usage = "", - goto_previous_usage = "", - } - } - }, textobjects = { select = { module_path = 'nvim-treesitter.textobjects.select', -- cgit v1.2.3