mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(rust): treesit: use v0.23.2 on Emacs <=29
v0.24.0 errors out on <=29. Fix: #8473
This commit is contained in:
parent
2443148f6d
commit
13e32dcbe9
1 changed files with 1 additions and 4 deletions
|
|
@ -50,10 +50,7 @@
|
|||
(when (modulep! +tree-sitter)
|
||||
(set-tree-sitter! 'rust-mode 'rustic-mode
|
||||
`((rust :url "https://github.com/tree-sitter/tree-sitter-rust"
|
||||
:commit ,(if (and (treesit-available-p)
|
||||
(< (treesit-library-abi-version) 15))
|
||||
"1f63b33efee17e833e0ea29266dd3d713e27e321"
|
||||
"18b0515fca567f5a10aee9978c6d2640e878671a")))))
|
||||
:rev ,(if (< (treesit-library-abi-version) 15) "v0.23.2" "v0.24.0")))))
|
||||
|
||||
;; HACK Certainly, `rustic-babel' does this, but the package (and many other
|
||||
;; rustic packages) must be loaded in order for them to take effect. To lazy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue