mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -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:
@@ -8,7 +8,7 @@
|
||||
;; present when you call `markdown-edit-code-block'.
|
||||
(package! edit-indirect :pin "82a28d8a85277cfe453af464603ea330eae41c05")
|
||||
|
||||
(when (modulep! +tree-sitter)
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! markdown-ts-mode
|
||||
:built-in 'prefer ; Emacs 31+ has a superior markdown-ts-mode
|
||||
:pin "2f1ee8b94cdf53cebc31ae08ecfbba846193d5e1"))
|
||||
|
Reference in New Issue
Block a user