aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/erlang/highlights.scm4
-rw-r--r--runtime/queries/linkerscript/injections.scm2
-rw-r--r--runtime/queries/nim_format_string/highlights.scm2
3 files changed, 3 insertions, 5 deletions
diff --git a/runtime/queries/erlang/highlights.scm b/runtime/queries/erlang/highlights.scm
index 8bba348d9..4b5b8ee78 100644
--- a/runtime/queries/erlang/highlights.scm
+++ b/runtime/queries/erlang/highlights.scm
@@ -93,8 +93,8 @@
lhs: _ @constant.macro
(#set! priority 101))
-(_preprocessor_directive) @keyword.directive
-(#set! priority 99)
+((_preprocessor_directive) @keyword.directive
+ (#set! priority 99))
; Attributes
(pp_include) @keyword.import
diff --git a/runtime/queries/linkerscript/injections.scm b/runtime/queries/linkerscript/injections.scm
index 51e6d1f6b..2f0e58eb6 100644
--- a/runtime/queries/linkerscript/injections.scm
+++ b/runtime/queries/linkerscript/injections.scm
@@ -1,2 +1,2 @@
-((comment)
+((comment) @injection.content
(#set! injection.language "comment"))
diff --git a/runtime/queries/nim_format_string/highlights.scm b/runtime/queries/nim_format_string/highlights.scm
index fde9e4ba0..02a75e6a3 100644
--- a/runtime/queries/nim_format_string/highlights.scm
+++ b/runtime/queries/nim_format_string/highlights.scm
@@ -1,5 +1,3 @@
-(string_literal)
-
(matching_curlies
opening_curly: (opening_curly) @punctuation.special
equals: (equals)? @punctuation.special