mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(c): don't highlight preproc_arg
`preproc_arg` is used for the body of `#define` macro definition, which is not appropriate to highlight with `@function.macro`. In addition, this region has an injection to C, so it will get highlights anyway.
This commit is contained in:
parent
aa8d8bc600
commit
07a404570f
1 changed files with 0 additions and 3 deletions
|
|
@ -142,9 +142,6 @@
|
|||
|
||||
(char_literal) @character
|
||||
|
||||
((preproc_arg) @function.macro
|
||||
(#set! "priority" 90))
|
||||
|
||||
(preproc_defined) @function.macro
|
||||
|
||||
((field_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue