Add better highlighting for preprocessor functions in C highlights

This commit is contained in:
Stephan Seitz 2020-05-24 13:40:43 +02:00
parent d88db9d718
commit e46baab8ca

View file

@ -84,6 +84,8 @@
declarator: (identifier) @function)
(preproc_function_def
name: (identifier) @function.macro)
(preproc_arg) @function.macro
; TODO (preproc_arg) @embedded
(field_identifier) @property
(statement_identifier) @label
@ -103,4 +105,7 @@
(parameter_list
(parameter_declaration) @parameter)
(preproc_params
(identifier)) @parameter
(ERROR) @error