mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(python): treesit: use v0.25.0 in >=30
Was released recently. Ref: tree-sitter/tree-sitter-python@293fdc0203
This commit is contained in:
parent
286f04c6ef
commit
5a861608c8
1 changed files with 1 additions and 2 deletions
|
|
@ -22,8 +22,7 @@
|
||||||
(when (modulep! +tree-sitter)
|
(when (modulep! +tree-sitter)
|
||||||
(set-tree-sitter! 'python-mode 'python-ts-mode
|
(set-tree-sitter! 'python-mode 'python-ts-mode
|
||||||
`((python :url "https://github.com/tree-sitter/tree-sitter-python"
|
`((python :url "https://github.com/tree-sitter/tree-sitter-python"
|
||||||
:rev ,(if (< (treesit-library-abi-version) 15) "v0.23.6")
|
:rev ,(if (< (treesit-library-abi-version) 15) "v0.23.6" "v0.25.0")))))
|
||||||
:commit "bffb65a8cfe4e46290331dfef0dbf0ef3679de11"))))
|
|
||||||
|
|
||||||
:config
|
:config
|
||||||
;; HACK: `python-base-mode' (and `python-ts-mode') don't exist on pre-29
|
;; HACK: `python-base-mode' (and `python-ts-mode') don't exist on pre-29
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue