mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
C highlights: make preproc_defined @function.macro
This commit is contained in:
parent
c5d07a01f6
commit
1cdf8bf750
1 changed files with 4 additions and 1 deletions
|
|
@ -110,7 +110,10 @@
|
||||||
declarator: (identifier) @function)
|
declarator: (identifier) @function)
|
||||||
(preproc_function_def
|
(preproc_function_def
|
||||||
name: (identifier) @function.macro)
|
name: (identifier) @function.macro)
|
||||||
(preproc_arg) @function.macro
|
[
|
||||||
|
(preproc_arg)
|
||||||
|
(preproc_defined)
|
||||||
|
] @function.macro
|
||||||
; TODO (preproc_arg) @embedded
|
; TODO (preproc_arg) @embedded
|
||||||
|
|
||||||
(field_identifier) @property
|
(field_identifier) @property
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue