refactor(tree-sitter): put keys on ts-mode-map
- move map definition and binding into evil-textobj-tree-sitter :config body - replace +tree-sitter-keys-mode with tree-sitter-mode as bind site - remove +tree-sitter-keys-mode from tree-sitter! autodef
This commit is contained in:
parent
7f814e5d99
commit
45ed981b41
2 changed files with 12 additions and 24 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
;;;###autodef
|
||||
(defun tree-sitter! ()
|
||||
(turn-on-tree-sitter-mode)
|
||||
(+tree-sitter-keys-mode))
|
||||
(interactive)
|
||||
(turn-on-tree-sitter-mode))
|
||||
|
||||
;;;###autoload
|
||||
(defun +tree-sitter-goto-textobj (group &optional previous end query)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue