mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -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,8 +3,7 @@
|
||||
|
||||
(package! kotlin-mode :pin "fddd747e5b4736e8b27a147960f369b86179ddff")
|
||||
|
||||
(when (and (modulep! +tree-sitter)
|
||||
(fboundp 'treesit-available-p))
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! kotlin-ts-mode :pin "a25d56cecac9160ba7c140f982ec16ca7b2fe97f"))
|
||||
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
|
Reference in New Issue
Block a user