From 8034ae85dba741209630dcb45937677f99f3159f Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sat, 22 Oct 2022 18:23:22 +0300 Subject: [PATCH] highlights(twig): fix captures --- queries/twig/highlights.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/queries/twig/highlights.scm b/queries/twig/highlights.scm index 2fbd01715..ca2b380fa 100644 --- a/queries/twig/highlights.scm +++ b/queries/twig/highlights.scm @@ -41,20 +41,11 @@ "=" ] @punctuation.delimiter -(interpolated_string [ - "#{" - "}" -] @punctuation.delimiter) +(interpolated_string ["#{" "}"] @punctuation.special) [ - "(" - ")" - "[" - "]" - "{" + "(" ")" + "[" "]" ] @punctuation.bracket -(hash [ - "}" -] @punctuation.bracket) - +(hash ["{" "}"] @punctuation.bracket)