summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/c/highlights.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index 757dc232..8a9b092a 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -111,15 +111,6 @@
(number_literal) @number
(char_literal) @character
-(call_expression
- function: (identifier) @function)
-(call_expression
- function: (field_expression
- field: (field_identifier) @function))
-(function_declarator
- declarator: (identifier) @function)
-(preproc_function_def
- name: (identifier) @function.macro)
[
(preproc_arg)
(preproc_defined)
@@ -157,6 +148,15 @@
argument: (_) @constant
(#eq? @_u "#undef"))
+(call_expression
+ function: (identifier) @function)
+(call_expression
+ function: (field_expression
+ field: (field_identifier) @function))
+(function_declarator
+ declarator: (identifier) @function)
+(preproc_function_def
+ name: (identifier) @function.macro)
(comment) @comment