Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/yara/locals.scm')
-rw-r--r--runtime/queries/yara/locals.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/yara/locals.scm b/runtime/queries/yara/locals.scm
index 16f8768a..7a4814df 100644
--- a/runtime/queries/yara/locals.scm
+++ b/runtime/queries/yara/locals.scm
@@ -1,5 +1,5 @@
-(rule_definition) @local.definition
-(string_identifier) @local.definition
+(rule_definition name: (identifier) @local.definition.string.special)
+(string_identifier) @local.definition.string.special.symbol
(for_expression
(string_identifier) @local.reference)