mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08: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:
parent
03c07970d4
commit
1ecee25553
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue