diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-08-30 01:14:18 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-08-30 10:53:41 +0200 |
| commit | 1cdf8bf7501129154679fdf52dadc0e6c2e6a231 (patch) | |
| tree | 760f268dcdd6634a08645c2bc6a42f84e835902a | |
| parent | c5d07a01f6bce6aa9da47c91b66768b8ecd4003a (diff) | |
C highlights: make `preproc_defined` @function.macro
| -rw-r--r-- | queries/c/highlights.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm index 4ffcfe52..31d6f4f8 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 |
