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:
Henrik Lissner 2025-09-01 17:40:32 +02:00
parent 03c07970d4
commit 1ecee25553
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -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))