mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
miniai_fix_tag: default to opt-out for the tag textobject provided by mini.ai
This commit is contained in:
parent
a72a84972d
commit
0660f9c97b
1 changed files with 5 additions and 0 deletions
|
|
@ -164,6 +164,11 @@ return {
|
|||
return {
|
||||
n_lines = 500,
|
||||
custom_textobjects = {
|
||||
-- opt-out: using neovim's text object selection for tags:
|
||||
t = false,
|
||||
-- opt-in: use the following override in the "opts" function of your spec:
|
||||
-- opts.custom_textobjects.t = nil -- opt-in to mini.ai's tag textobject
|
||||
|
||||
o = ai.gen_spec.treesitter({
|
||||
a = { "@block.outer", "@conditional.outer", "@loop.outer" },
|
||||
i = { "@block.inner", "@conditional.inner", "@loop.inner" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue