mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 10:31:23 -08:00
fix(python): treesit: use v0.23.6 on <=30
Newer versions of this grammar fails on Emacs <=30. Fix: #8503
This commit is contained in:
parent
30c95e6519
commit
a832076ca1
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@
|
|||
|
||||
(when (modulep! +tree-sitter)
|
||||
(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")
|
||||
:commit "bffb65a8cfe4e46290331dfef0dbf0ef3679de11"))))
|
||||
|
||||
:config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue