mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
refactor(tree-sitter): centralize grammar config & hacks
Easier to track and maintain.
This commit is contained in:
@@ -48,9 +48,7 @@
|
||||
:when (modulep! +tree-sitter)
|
||||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'julia-mode 'julia-ts-mode
|
||||
'((julia :url "https://github.com/tree-sitter/tree-sitter-julia"
|
||||
:rev "v0.23.1")))
|
||||
(set-tree-sitter! 'julia-mode 'julia-ts-mode 'julia)
|
||||
:config
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'julia-ts-mode-local-vars-hook #'lsp! 'append)))
|
||||
|
Reference in New Issue
Block a user