mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 05:50:04 -04:00
Merge pull request #487 from steelsojka/remove-refactor
chore(modules): remove refactor module
This commit is contained in:
commit
7f325538cc
8 changed files with 8 additions and 518 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue