mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 10:31:23 -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)
|
:when (fboundp 'zig-ts-mode)
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
|
;; REVIEW: maxxnino/tree-sitter-zig is unmaintained; waiting for alternatives.
|
||||||
(set-tree-sitter! 'zig-mode 'zig-ts-mode
|
(set-tree-sitter! 'zig-mode 'zig-ts-mode
|
||||||
'((zig :url "https://github.com/tree-sitter/zig-tree-sitter"
|
'((zig :url "https://github.com/maxxnino/tree-sitter-zig")))
|
||||||
:rev "v0.25.0")))
|
|
||||||
:config
|
:config
|
||||||
(+zig-common-config 'zig-ts-mode))
|
(+zig-common-config 'zig-ts-mode))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue