mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
refactor(tree-sitter): move ts-langs into use-pkg
Move tree-sitter-langs into its own use-package call This is to reflect an accepted code pattern seen in the rest of doom's code. This does not cause any user facing changes
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
:hook (prog-mode . turn-on-tree-sitter-mode)
|
||||
:hook (tree-sitter-after-on . tree-sitter-hl-mode)
|
||||
:config
|
||||
(require 'tree-sitter-langs)
|
||||
|
||||
;; This makes every node a link to a section of code
|
||||
(setq tree-sitter-debug-jump-buttons t
|
||||
;; and this highlights the entire sub tree in your code
|
||||
tree-sitter-debug-highlight-jump-region t))
|
||||
|
||||
(use-package! tree-sitter-langs
|
||||
:after tree-sitter)
|
||||
|
||||
(when (featurep! :editor evil +everywhere)
|
||||
(use-package! evil-textobj-tree-sitter
|
||||
:after tree-sitter
|
||||
|
Reference in New Issue
Block a user