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:
Henrik Lissner
2025-09-01 18:37:33 +02:00
parent 84e8ae58d1
commit a51690f033
18 changed files with 23 additions and 21 deletions

View File

@@ -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)