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:
@@ -4,8 +4,7 @@
|
||||
(package! sbt-mode :pin "cc68728a6ef0600aad369157b3a2d0ce56afba9b")
|
||||
(package! scala-mode :pin "661337d8aa0a0cb418184c83757661603de3b2e3")
|
||||
|
||||
(when (and (modulep! +tree-sitter)
|
||||
(fboundp 'treesit-available-p))
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! scala-ts-mode :pin "c7671e10419261ef70b1820d3b970ad39f6fcfe2"))
|
||||
|
||||
(when (and (modulep! +lsp)
|
||||
|
Reference in New Issue
Block a user