mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -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
|
|
@ -2,9 +2,13 @@
|
|||
|
||||
(use-package! csharp-mode
|
||||
:hook (csharp-mode . rainbow-delimiters-mode)
|
||||
:defer t
|
||||
:init
|
||||
(when (modulep! +tree-sitter)
|
||||
(set-tree-sitter! 'csharp-mode 'csharp-ts-mode 'c-sharp))
|
||||
(set-tree-sitter! 'csharp-mode 'csharp-ts-mode
|
||||
'((c-sharp :url "https://github.com/tree-sitter/tree-sitter-c-sharp"
|
||||
:rev "v0.23.1"
|
||||
:commit "362a8a41b265056592a0c3771664a21d23a71392"))))
|
||||
:config
|
||||
(set-formatter! 'csharpier '("csharpier" "format" "--write-stdout")
|
||||
:modes '(csharp-mode csharp-ts-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue