feat(dart): add treesit support

This does not port over the keybinds to dart-ts-mode. Those will be done
separately.
This commit is contained in:
Henrik Lissner
2025-06-28 21:13:11 +02:00
parent 7c6e1950e8
commit a287a96aca
4 changed files with 35 additions and 7 deletions

View File

@@ -4,5 +4,9 @@
(modulep! :tools lsp))
"This module requires (:tools lsp)")
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(unless (executable-find "dart")
(warn! "Dart isn't on PATH."))