mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
fix(zig): treesit: use maxxnino/tree-sitter-zig grammar
tree-sitter/zig-tree-sitter is written in zig, so cannot be
automatically installed (`treesit-install-language-grammar` expects
C-based grammars).
Amend: 9acc5f48b6
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
:when (fboundp 'zig-ts-mode)
|
||||
:defer t
|
||||
:init
|
||||
;; REVIEW: maxxnino/tree-sitter-zig is unmaintained; waiting for alternatives.
|
||||
(set-tree-sitter! 'zig-mode 'zig-ts-mode
|
||||
'((zig :url "https://github.com/tree-sitter/zig-tree-sitter"
|
||||
:rev "v0.25.0")))
|
||||
'((zig :url "https://github.com/maxxnino/tree-sitter-zig")))
|
||||
:config
|
||||
(+zig-common-config 'zig-ts-mode))
|
||||
|
Reference in New Issue
Block a user