mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-20 11:31:01 -08:00
fix(:lang): missing grammar recipes
I removed the grammar recipes in3b58741to avoid redundancy with the upstream recipes, but didn't realize that those upstream recipes weren't added until Emacs 31, so users on 30 and older would get errors when trying to install any missing grammars. This also establishes a hard dependency between :lang (php +tree-sitter) and :lang ({javascript,web} +tree-sitter). Amend:3b58741522
This commit is contained in:
parent
d9fd5cb8f3
commit
d545fccf47
21 changed files with 107 additions and 58 deletions
|
|
@ -34,12 +34,15 @@ If the depth is 2, the first two directories are removed: net.lissner.game.")
|
|||
;;
|
||||
;;; Common packages
|
||||
|
||||
(use-package! java-ts-mode
|
||||
(use-package! java-ts-mode ; 29.1+ only
|
||||
:when (modulep! +tree-sitter)
|
||||
:when (fboundp 'java-ts-mode) ; 29.1+ only
|
||||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'java-mode 'java-ts-mode '(java doxygen)))
|
||||
(set-tree-sitter! 'java-mode 'java-ts-mode
|
||||
'((java :url "https://github.com/tree-sitter/tree-sitter-java"
|
||||
:commit "94703d5a6bed02b98e438d7cad1136c01a60ba2c")
|
||||
(doxygen :url "https://github.com/tree-sitter-grammars/tree-sitter-doxygen"
|
||||
:commit "1e28054cb5be80d5febac082706225e42eff14e6"))))
|
||||
|
||||
|
||||
(use-package! android-mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue