mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-04 15:03:42 -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,7 +3,7 @@
|
||||
|
||||
(package! dart-mode :pin "f82ff052309125b93d19bdd3f619266f908f43ce")
|
||||
|
||||
(when (modulep! +tree-sitter)
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! dart-ts-mode
|
||||
:recipe (:host github
|
||||
:repo "50ways2sayhard/dart-ts-mode")
|
||||
|
Reference in New Issue
Block a user