aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/query/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm
index 030e3d44f..8601b1365 100644
--- a/queries/query/highlights.scm
+++ b/queries/query/highlights.scm
@@ -33,6 +33,9 @@
((program . (comment)* . (comment) @keyword.directive)
(#lua-match? @keyword.directive "^;+ *extends *$"))
+((comment) @keyword.directive
+ (#lua-match? @keyword.directive "^;+%s*format%-ignore%s*$"))
+
((predicate
name: (identifier) @_name
parameters: (parameters (string "\"" @string "\"" @string) @string.regexp))