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"