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:
Henrik Lissner
2025-09-05 17:11:07 -04:00
parent ddc447d9d5
commit 8f55404781
2 changed files with 4 additions and 6 deletions

View File

@@ -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")))))