fix(tree-sitter): adjust description for textobjs

Reduce the length of the description for evil text objects
This commit is contained in:
Ellis Kenyo 2021-11-07 09:13:34 +00:00 committed by Jeetaditya Chatterjee
parent caa64e8324
commit f39fb3afc1
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91

View file

@ -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"))))))