mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-14 15:46:56 -05: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user