feat(java): add treesit support

This commit is contained in:
Henrik Lissner
2025-08-27 17:26:25 +02:00
parent 6ca155ea11
commit 07e7c699cf
2 changed files with 12 additions and 3 deletions

View File

@@ -9,6 +9,10 @@
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(fboundp 'java-ts-mode))
"Can't find `java-ts-mode'; Emacs 29.1+ is required")
(unless (executable-find "javac")
(warn! "Couldn't find the javac executable, are you sure the JDK is installed?"))