Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
lua: Update keyword operator highlighting (#26091)
Finn Eversefaf3588763d
diff --git a/extensions/lua/languages/lua/highlights.scm b/extensions/lua/languages/lua/highlights.scmindex 7b0b8364ea2..f56b46338ee 100644--- a/extensions/lua/languages/lua/highlights.scm+++ b/extensions/lua/languages/lua/highlights.scm@@ -1,74 +1,23 @@;; Keywords-"return" @keyword--[- "goto"- "in"- "local"-] @keyword--(break_statement) @keyword--(do_statement-[- "do"- "end"-] @keyword)--(while_statement[- "while""do"- "end"-] @keyword)--(repeat_statement-[- "repeat"- "until"-] @keyword)--(if_statement-[- "if"- "elseif""else"- "then"- "end"-] @keyword)--(elseif_statement-["elseif"- "then""end"-] @keyword)--(else_statement-[- "else"- "end"-] @keyword)--(for_statement-["for"- "do"- "end"-] @keyword)--(function_declaration-["function"- "end"-] @keyword)--(function_definition-[- "function"- "end"-] @keyword)+ "goto"+ "if"+ "in"+ "local"+ "repeat"+ "return"+ "then"+ "until"+ "while"+ (break_statement)+] @keyword;; Operators@@ -76,7 +25,7 @@"and""not""or"-] @operator+] @keyword.operator["+"