From 3dde0b2260dc7810da0a13523ba2c28bdb0c53a2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 4 Dec 2013 18:53:17 +0000 Subject: [PATCH] fix strings in comment being highlighted as strings --- src/rc/cpp.kak | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rc/cpp.kak b/src/rc/cpp.kak index b756fd10..90ec3c4c 100644 --- a/src/rc/cpp.kak +++ b/src/rc/cpp.kak @@ -43,10 +43,9 @@ addhl -def-group cpp regex "\<(void|int|char|unsigned|float|bool|size_t)\>" 0:ty addhl -def-group cpp regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return|using|try|catch|throw|new|delete|and|or|not|operator|explicit)\>" 0:keyword addhl -def-group cpp regex "\<(const|mutable|auto|namespace|inline|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual|friend|extern|typename|override|final)\>" 0:attribute addhl -def-group cpp regex "^\h*?#.*?(?