feat(ruby): add treesit support

This commit is contained in:
Henrik Lissner
2025-05-07 22:29:23 -04:00
parent 7cb23f3359
commit 445c982838
3 changed files with 18 additions and 4 deletions

View File

@@ -8,6 +8,10 @@
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(fboundp 'ruby-ts-mode))
"Can't find `ruby-ts-mode'; Emacs 29.1+ is required")
(unless (executable-find "ruby")
(warn! "Ruby isn't installed."))