mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -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:
@@ -11,5 +11,5 @@
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(package! flycheck-swift :pin "4c5ad401252400a78da395fd56a71e67ff8c2761")))
|
||||
|
||||
(when (modulep! +tree-sitter)
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! swift-ts-mode :pin "43a0be79f9758fc444f5fafdff6023c4c7bf80f7"))
|
||||
|
Reference in New Issue
Block a user