fix(tree-sitter): adjust description for textobjs
Reduce the length of the description for evil text objects
This commit is contained in:
parent
caa64e8324
commit
f39fb3afc1
1 changed files with 6 additions and 1 deletions
|
@ -43,4 +43,9 @@
|
||||||
:textobj "i" (evil-textobj-tree-sitter-get-textobj "conditional.inner") (evil-textobj-tree-sitter-get-textobj "conditional.outer")
|
:textobj "i" (evil-textobj-tree-sitter-get-textobj "conditional.inner") (evil-textobj-tree-sitter-get-textobj "conditional.outer")
|
||||||
|
|
||||||
:textobj "l" nil nil
|
:textobj "l" nil nil
|
||||||
:textobj "l" (evil-textobj-tree-sitter-get-textobj "loop.inner") (evil-textobj-tree-sitter-get-textobj "loop.outer"))))
|
:textobj "l" (evil-textobj-tree-sitter-get-textobj "loop.inner") (evil-textobj-tree-sitter-get-textobj "loop.outer"))
|
||||||
|
(after! which-key
|
||||||
|
(setq which-key-allow-multiple-replacements t)
|
||||||
|
(pushnew!
|
||||||
|
which-key-replacement-alist
|
||||||
|
'(("" . "\\`+?evil-textobj-tree-sitter-function--\\(.*\\)\\(?:.inner\\|.outer\\)") . (nil . "\\1"))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue