From 9b43ab819c756f01d2977cd481bdcaead6867174 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sun, 18 Sep 2022 20:15:23 +0300 Subject: highlights: use @preproc where appropriate --- queries/yaml/highlights.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'queries/yaml') diff --git a/queries/yaml/highlights.scm b/queries/yaml/highlights.scm index 311162c1..7e3c3a5e 100644 --- a/queries/yaml/highlights.scm +++ b/queries/yaml/highlights.scm @@ -11,9 +11,14 @@ (anchor_name) @type (alias_name) @type (tag) @type -(yaml_directive) @keyword (ERROR) @error +[ + (yaml_directive) + (tag_directive) + (reserved_directive) +] @preproc + (block_mapping_pair key: (flow_node [(double_quote_scalar) (single_quote_scalar)] @field)) (block_mapping_pair -- cgit v1.2.3