feat(tree-sitter): add tree-sitter! autodef
This commit is contained in:
parent
c6a006dd68
commit
56d0f02f31
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
;;; tools/tree-sitter/autoload.el -*- lexical-binding: t; -*-
|
;;; tools/tree-sitter/autoload.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;;;###autodef
|
||||||
|
(defun tree-sitter! ()
|
||||||
|
(turn-on-tree-sitter-mode)
|
||||||
|
(+tree-sitter-keys-mode))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +tree-sitter-goto-textobj (group &optional previous end query)
|
(defun +tree-sitter-goto-textobj (group &optional previous end query)
|
||||||
"Thin wrapper that returns the symbol of a named function, used in keybindings."
|
"Thin wrapper that returns the symbol of a named function, used in keybindings."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue