mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
mini.ai: move to extras. Add default textobjects to treesitter, improved comment to t = false
This commit is contained in:
parent
7eb53e9a79
commit
e2a94a51d5
1 changed files with 4 additions and 2 deletions
|
|
@ -74,8 +74,10 @@ return {
|
|||
n_lines = 500,
|
||||
custom_textobjects = {
|
||||
|
||||
-- see: https://github.com/echasnovski/mini.nvim/issues/474
|
||||
t = false, -- for now, fallback to neovim's builtin tag.
|
||||
-- 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" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue