aboutsummaryrefslogtreecommitdiffstats
path: root/queries/luap/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/luap/highlights.scm')
-rw-r--r--queries/luap/highlights.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/queries/luap/highlights.scm b/queries/luap/highlights.scm
index 64bb60c85..40d2bd37b 100644
--- a/queries/luap/highlights.scm
+++ b/queries/luap/highlights.scm
@@ -32,7 +32,11 @@
(negated_set
(character) @constant)
-(class) @keyword
+(class) @string.escape
+
+(class
+ "%" @string.regexp
+ (escape_char) @string.regexp)
(negated_set
"^" @operator)