From 07a404570f3d912afdfe92bbf74ff55886293369 Mon Sep 17 00:00:00 2001 From: Jaehwang Jung Date: Sun, 24 Mar 2024 14:55:46 +0900 Subject: [PATCH] fix(c): don't highlight preproc_arg `preproc_arg` is used for the body of `#define` macro definition, which is not appropriate to highlight with `@function.macro`. In addition, this region has an injection to C, so it will get highlights anyway. --- queries/c/highlights.scm | 3 --- 1 file changed, 3 deletions(-) diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm index f9e2ef800..c901b96f3 100644 --- a/queries/c/highlights.scm +++ b/queries/c/highlights.scm @@ -142,9 +142,6 @@ (char_literal) @character -((preproc_arg) @function.macro - (#set! "priority" 90)) - (preproc_defined) @function.macro ((field_expression