aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/c/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index 4ffcfe52b..31d6f4f8b 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -110,7 +110,10 @@
declarator: (identifier) @function)
(preproc_function_def
name: (identifier) @function.macro)
-(preproc_arg) @function.macro
+[
+ (preproc_arg)
+ (preproc_defined)
+] @function.macro
; TODO (preproc_arg) @embedded
(field_identifier) @property