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