Extract lua language support into an extension (#10437)

Release Notes:

- Extracted lua language support into an extension, and improved Lua
highlighting and completion label styling.

---------

Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
Max Brunsfeld 2024-04-11 11:32:10 -07:00 committed by GitHub
parent c6028f6651
commit 176f440158
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 265 additions and 225 deletions

View file

@ -18,7 +18,6 @@ mod deno;
mod elixir;
mod go;
mod json;
mod lua;
mod nu;
mod ocaml;
mod python;
@ -69,7 +68,6 @@ pub fn init(
("heex", tree_sitter_heex::language()),
("jsdoc", tree_sitter_jsdoc::language()),
("json", tree_sitter_json::language()),
("lua", tree_sitter_lua::language()),
("markdown", tree_sitter_markdown::language()),
("nix", tree_sitter_nix::language()),
("nu", tree_sitter_nu::language()),
@ -280,7 +278,6 @@ pub fn init(
language!("scheme");
language!("racket");
language!("regex");
language!("lua", vec![Arc::new(lua::LuaLspAdapter)]);
language!(
"yaml",
vec![Arc::new(yaml::YamlLspAdapter::new(node_runtime.clone()))]