mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05: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:
@@ -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")))))
|
||||
|
Reference in New Issue
Block a user