diff options
| -rw-r--r-- | queries/lua/highlights.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index fadcb2ac0..38f926a0d 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -8,8 +8,6 @@ "local" ] @keyword -(label_statement) @label - (break_statement) @keyword (do_statement @@ -109,6 +107,7 @@ [ ";" ":" + "::" "," "." ] @punctuation.delimiter @@ -136,6 +135,12 @@ (["<" ">"] @punctuation.bracket (identifier) @attribute))) +;; Labels + +(label_statement (identifier) @label) + +(goto_statement (identifier) @label) + ;; Constants ((identifier) @constant |
