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:
@@ -7,5 +7,5 @@
|
||||
(package! company-graphql
|
||||
:recipe (:host github :repo "thaenalpha/company-graphql")
|
||||
:pin "aed9f5109e877944a895d08fc08bad103f03096b"))
|
||||
(when (modulep! +tree-sitter)
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! graphql-ts-mode :pin "e933f235408ea195762700fd07c2d828e8f09aac"))
|
||||
|
Reference in New Issue
Block a user