mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -04:00
C highlights: Add highlight for #elif
This commit is contained in:
parent
c27d35adc5
commit
54438439e6
1 changed files with 10 additions and 7 deletions
|
|
@ -21,13 +21,16 @@
|
|||
"while" @repeat
|
||||
|
||||
"#define" @constant.macro
|
||||
"#else" @keyword
|
||||
"#endif" @keyword
|
||||
"#if" @keyword
|
||||
"#ifdef" @keyword
|
||||
"#ifndef" @keyword
|
||||
"#include" @keyword
|
||||
(preproc_directive) @keyword
|
||||
[
|
||||
"#if"
|
||||
"#ifdef"
|
||||
"#ifndef"
|
||||
"#else"
|
||||
"#elif"
|
||||
"#endif"
|
||||
"#include"
|
||||
(preproc_directive)
|
||||
] @keyword
|
||||
|
||||
"--" @operator
|
||||
"-" @operator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue