From c15385281c7944734a99c98120ecbab742d836d9 Mon Sep 17 00:00:00 2001 From: Omar Valdez Date: Fri, 30 Aug 2024 01:26:22 -0700 Subject: [PATCH] fix(c_sharp): remove duplicated queries (#7099) --- queries/c_sharp/highlights.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm index 20cc80747..90d0d3407 100644 --- a/queries/c_sharp/highlights.scm +++ b/queries/c_sharp/highlights.scm @@ -358,6 +358,9 @@ (preproc_pragma (identifier) @constant) +(preproc_if + (identifier) @constant) + [ "if" "else" @@ -367,15 +370,6 @@ "when" ] @keyword.conditional -(preproc_pragma - (identifier) @constant) - -(preproc_if - (identifier) @constant) - -(preproc_if - (identifier) @constant) - [ "while" "for"