Add lua syntax highlighting and lsp support

This commit is contained in:
Kay Simmons 2023-02-05 23:21:29 -08:00
parent 8be9d21340
commit 4642817e72
10 changed files with 458 additions and 3 deletions

View file

@ -10,6 +10,7 @@ mod html;
mod installation;
mod json;
mod language_plugin;
mod lua;
mod python;
mod ruby;
mod rust;
@ -122,6 +123,11 @@ pub fn init(languages: Arc<LanguageRegistry>) {
tree_sitter_racket::language(),
None, //
),
(
"lua",
tree_sitter_lua::language(),
Some(Box::new(lua::LuaLspAdapter)),
),
] {
languages.register(name, load_config(name), grammar, lsp_adapter, load_queries);
}