feat(lua): add treesit support

This commit is contained in:
Henrik Lissner
2025-05-07 23:42:49 -04:00
parent 445c982838
commit f002424106
4 changed files with 60 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
;;; lang/lua/doctor.el -*- lexical-binding: t; -*-
(assert! (or (not (modulep! +lsp))
(modulep! :tools lsp))
"This module requires (:tools lsp)")
(assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(fboundp 'lua-ts-mode))
"Can't find `lua-ts-mode'; Emacs 30.1+ is required")