mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
nit(tree-sitter): add rationale for debug mode var
This commit is contained in:
@@ -6,7 +6,10 @@
|
|||||||
:hook (tree-sitter-after-on . tree-sitter-hl-mode)
|
:hook (tree-sitter-after-on . tree-sitter-hl-mode)
|
||||||
:config
|
:config
|
||||||
(require 'tree-sitter-langs)
|
(require 'tree-sitter-langs)
|
||||||
|
|
||||||
|
;; This makes every node a link to a section of code
|
||||||
(setq tree-sitter-debug-jump-buttons t
|
(setq tree-sitter-debug-jump-buttons t
|
||||||
|
;; and this highlights the entire sub tree in your code
|
||||||
tree-sitter-debug-highlight-jump-region t)
|
tree-sitter-debug-highlight-jump-region t)
|
||||||
|
|
||||||
(defadvice! doom-tree-sitter-fail-gracefully-a (orig-fn &rest args)
|
(defadvice! doom-tree-sitter-fail-gracefully-a (orig-fn &rest args)
|
||||||
|
Reference in New Issue
Block a user