feat(scala): add treesit support

This commit is contained in:
Henrik Lissner
2025-05-22 19:32:30 +02:00
parent 5db361b474
commit c5dd2847ff
5 changed files with 52 additions and 22 deletions

View File

@@ -8,6 +8,10 @@
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(version< emacs-version "29.1"))
"Emacs 29.1+ is required for tree-sitter support")
(if (and (modulep! +lsp)
(not (executable-find "metals")))
(warn! "metals isn't installed"))