mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(web): tree-sitter: html & css grammars' recipes
For both html and css grammars: - Use 0.23.0 on Emacs 29 and 0.23.2 on 30+ - Remove :commit, because the latest commit is (essentially) 0.23.2 for both grammars. Close: #8498 Co-authored-by: ispringle <ispringle@users.noreply.github.com>
This commit is contained in:
parent
ddc447d9d5
commit
8f55404781
2 changed files with 4 additions and 6 deletions
|
|
@ -80,6 +80,5 @@ If set to `nil', disable all the above behaviors.")
|
|||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'css-mode 'css-ts-mode
|
||||
'((css :url "https://github.com/tree-sitter/tree-sitter-css"
|
||||
:rev "v0.23.0"
|
||||
:commit "6a442a3cf461b0ce275339e5afa178693484c927"))))
|
||||
`((css :url "https://github.com/tree-sitter/tree-sitter-css"
|
||||
:rev ,(if (< (treesit-library-abi-version) 15) "v0.23.0" "v0.23.2")))))
|
||||
|
|
|
|||
|
|
@ -174,9 +174,8 @@
|
|||
:defer t
|
||||
:init
|
||||
(set-tree-sitter! 'html-mode 'html-ts-mode
|
||||
'((html :url "https://github.com/tree-sitter/tree-sitter-html"
|
||||
:rev "v0.23.0"
|
||||
:commit "6a442a3cf461b0ce275339e5afa178693484c927"))))
|
||||
`((html :url "https://github.com/tree-sitter/tree-sitter-html"
|
||||
:rev ,(if (< (treesit-library-abi-version) 15) "v0.23.0" "v0.23.2")))))
|
||||
|
||||
|
||||
(use-package! mhtml-ts-mode ; 31+ only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue