mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(tree-sitter): adjust description for textobjs
Reduce the length of the description for evil text objects
This commit is contained in:
committed by
Jeetaditya Chatterjee
parent
caa64e8324
commit
f39fb3afc1
@ -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"))))))
|
||||||
|
Reference in New Issue
Block a user