From 4b900527045c49af5f43291d2cb13ae27a3bc7be Mon Sep 17 00:00:00 2001 From: gbprod Date: Wed, 30 Nov 2022 10:51:24 +0100 Subject: [PATCH] feat(twig): improve twig highlights --- queries/twig/highlights.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/queries/twig/highlights.scm b/queries/twig/highlights.scm index ca2b380fa..4e7bfe4f2 100644 --- a/queries/twig/highlights.scm +++ b/queries/twig/highlights.scm @@ -36,10 +36,14 @@ [ "," "." +] @punctuation.delimiter + +[ "?" ":" "=" -] @punctuation.delimiter + "|" +] @operator (interpolated_string ["#{" "}"] @punctuation.special)