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:
Henrik Lissner
2025-09-11 13:40:30 -04:00
parent 30c95e6519
commit a832076ca1

View File

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