Merge pull request #487 from steelsojka/remove-refactor

chore(modules): remove refactor module
This commit is contained in:
Steven Sojka 2020-10-04 07:01:53 -05:00 committed by GitHub
commit 7f325538cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 518 deletions

View file

@ -47,41 +47,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 = "<a-*>",
goto_previous_usage = "<a-#>",
}
}
},
textobjects = {
select = {
module_path = 'nvim-treesitter.textobjects.select',