From 57cc31054f27495b3aac5059fbcd06f82534bd19 Mon Sep 17 00:00:00 2001 From: sspivey98 Date: Fri, 11 Sep 2026 10:59:04 -0400 Subject: [PATCH] split local/global from conditionals + control flow --- languages/lua/highlights.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/languages/lua/highlights.scm b/languages/lua/highlights.scm index 1dcf974..b6125f4 100644 --- a/languages/lua/highlights.scm +++ b/languages/lua/highlights.scm @@ -1,4 +1,9 @@ ; Keywords +[ + "local" + "global" +] @keyword + [ "do" "else" @@ -9,15 +14,13 @@ "goto" "if" "in" - "local" - "global" "repeat" "return" "then" "until" "while" (break_statement) -] @keyword +] @keyword.control ; Operators [