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:
@@ -2,7 +2,7 @@
|
||||
;;; lang/haskell/packages.el
|
||||
|
||||
(package! haskell-mode :pin "e9c356739310332afe59b10ffa2e6c3e76f124e3")
|
||||
(when (modulep! +tree-sitter)
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! haskell-ts-mode :pin "b47211699944997bfb03fd88b1157dd71727bad7"))
|
||||
|
||||
(when (and (modulep! +lsp)
|
||||
|
Reference in New Issue
Block a user