mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-10 15:33:36 -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:
@@ -4,8 +4,7 @@
|
||||
(package! nix-mode :pin "719feb7868fb567ecfe5578f6119892c771ac5e5")
|
||||
(package! nix-update :pin "77022ccd918d665acbb519b243e7e3dc5eae1c47")
|
||||
|
||||
(when (and (modulep! +tree-sitter)
|
||||
(fboundp 'treesit-available-p))
|
||||
(when (and (modulep! +tree-sitter) (treesit-available-p))
|
||||
(package! nix-ts-mode :pin "62ce3a2dc39529c5db3516427e84b2c96b8efcfd"))
|
||||
|
||||
(when (modulep! :completion company)
|
||||
|
Reference in New Issue
Block a user