From 54438439e6e05a52eaca34d815211e61231c9da8 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sat, 27 Jun 2020 21:06:11 +0200 Subject: [PATCH] C highlights: Add highlight for #elif --- queries/c/highlights.scm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm index 0d718c223..b3889dbd8 100644 --- a/queries/c/highlights.scm +++ b/queries/c/highlights.scm @@ -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