Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix lua highlight query
Max Brunsfeld0867162c879d
diff --git a/crates/zed/src/languages/lua/highlights.scm b/crates/zed/src/languages/lua/highlights.scmindex 96389c79b4b..f061bbf8f91 100644--- a/crates/zed/src/languages/lua/highlights.scm+++ b/crates/zed/src/languages/lua/highlights.scm@@ -137,7 +137,7 @@;; Constants((identifier) @constant- (#lua-match? @constant "^[A-Z][A-Z_0-9]*$"))+ (#match? @constant "^[A-Z][A-Z_0-9]*$"))(vararg_expression) @constant@@ -164,11 +164,17 @@(parameters (identifier) @parameter)-(function_call name: (identifier) @function.call)-(function_declaration name: (identifier) @function)+(function_call+ name: [+ (identifier) @function+ (dot_index_expression field: (identifier) @function)+ ])-(function_call name: (dot_index_expression field: (identifier) @function.call))-(function_declaration name: (dot_index_expression field: (identifier) @function))+(function_declaration+ name: [+ (identifier) @function.definition+ (dot_index_expression field: (identifier) @function.definition)+ ])(method_index_expression method: (identifier) @method)