mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
fix(:lang): add treesit-available-p checks to *-ts-mode packages
Otherwise package installation will throw Emacs version errors for users on 28 and under.
This commit is contained in:
@@ -3,6 +3,5 @@
|
||||
|
||||
(package! zig-mode :pin "c46d024733b7c1d6af829bb610fc9629b060bc9e")
|
||||
|
||||
(when (and (modulep! +tree-sitter)
|
||||
(fboundp 'treesit-available-p))
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! zig-ts-mode :pin "3898b70d6f72da688e086323fa2922f1542d1318"))
|
||||
|
Reference in New Issue
Block a user