Add incremental_selection option to treesitter config
This commit is contained in:
@@ -91,6 +91,15 @@ require("nvim-treesitter.configs").setup({
|
||||
highlight = {
|
||||
enable = true
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
init_selection = "<CR>",
|
||||
scope_incremental = "<CR>",
|
||||
node_incremental = "<TAB>",
|
||||
node_decremental = "<S-TAB>"
|
||||
}
|
||||
},
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = true,
|
||||
|
||||
Reference in New Issue
Block a user