mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(tree-sitter): add tree-sitter! autodef
This commit is contained in:
@ -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."
|
||||||
|
Reference in New Issue
Block a user