From 31d2f60734da6217c7fa8da1f6f9a9a18c52cdec Mon Sep 17 00:00:00 2001 From: Iron-E <36409591+Iron-E@users.noreply.github.com> Date: Thu, 4 May 2023 19:46:41 +0000 Subject: fix(c_sharp): highlight `<` & `>` as `@punctuation.bracket` only in type param lists This fixes highlighting of `x > 4`, for example --- queries/c_sharp/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm index e2dc3720c..9895d8341 100644 --- a/queries/c_sharp/highlights.scm +++ b/queries/c_sharp/highlights.scm @@ -307,10 +307,10 @@ "}" "(" ")" - "<" - ">" ] @punctuation.bracket +(type_argument_list ["<" ">"] @punctuation.bracket) + [ (this_expression) (base_expression) -- cgit v1.2.3-70-g09d2