fix: treesitter-textobjects setup
This commit is contained in:
parent
21dcb21444
commit
c192a0fb29
1 changed files with 24 additions and 22 deletions
|
@ -20,6 +20,7 @@ configs.setup({
|
|||
node_decremental = "<bs>",
|
||||
},
|
||||
},
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
lookahead = true,
|
||||
|
@ -48,6 +49,7 @@ configs.setup({
|
|||
["ac"] = { query = "@class.outer", desc = "Select outer part of a class" },
|
||||
["ic"] = { query = "@class.inner", desc = "Select inner part of a class" },
|
||||
},
|
||||
},
|
||||
move = {
|
||||
enable = true,
|
||||
set_jumps = true, -- whether to set jumps in the jumplist
|
||||
|
@ -85,5 +87,5 @@ configs.setup({
|
|||
["[L"] = { query = "@loop.outer", desc = "Prev loop end" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue