feat: configure treesitter incremental selection, remove obsolte settings
parent
02635a71b1
commit
e91d1e1ce6
|
@ -1,14 +1,14 @@
|
||||||
require('nvim-treesitter.configs').setup({
|
require('nvim-treesitter.configs').setup({
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
additional_vim_regex_highlighting = false
|
|
||||||
},
|
},
|
||||||
indent = {
|
incremental_selection = {
|
||||||
enable = false,
|
|
||||||
},
|
|
||||||
rainbow = {
|
|
||||||
enable = true,
|
enable = true,
|
||||||
extended_mode = true,
|
keymaps = {
|
||||||
max_file_lines = nil,
|
init_selection = "v",
|
||||||
|
node_decremental = "<",
|
||||||
|
node_incremental = ">",
|
||||||
|
scope_incremental = false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue