feat(python): add treesit support

This commit is contained in:
Henrik Lissner
2025-05-07 18:15:51 -04:00
parent f2678b3ea2
commit a372eba7cd
4 changed files with 47 additions and 20 deletions

View File

@@ -8,6 +8,10 @@
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(fboundp 'python-ts-mode))
"Can't find `python-ts-mode'; Emacs 29.1+ is required")
(if (not (or (executable-find "python")
(executable-find "python3")))
(error! "Couldn't find python in your PATH")