From 0000dd47050acd5b4a4cd1e1cfb7afcff755a6a3 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 11 Aug 2015 08:16:04 +0300 Subject: [PATCH] Add the double type to the list of highlighted types --- rc/c-family.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/c-family.kak b/rc/c-family.kak index 16aea55e..4da06c62 100644 --- a/rc/c-family.kak +++ b/rc/c-family.kak @@ -73,7 +73,7 @@ def -hidden _c-family-indent-on-closing-curly-brace %[ # c++ specific addhl -group /cpp/code regex %{\<(this|true|false|NULL|nullptr|)\>|\<-?(0x[0-9a-fA-F]+|\d+)[fdiu]?|'((\\.)?|[^'\\])'} 0:value -addhl -group /cpp/code regex "\<(void|int|char|unsigned|float|bool|size_t)\>" 0:type +addhl -group /cpp/code regex "\<(void|int|char|unsigned|float|double|bool|size_t)\>" 0:type addhl -group /cpp/code regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return|using|try|catch|throw|new|delete|and|and_eq|or|or_eq|not|operator|explicit|(?:reinterpret|const|static|dynamic)_cast|sizeof|alignof|alignas|decltype)\>" 0:keyword addhl -group /cpp/code regex "\<(const|constexpr|mutable|auto|namespace|inline|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual|friend|extern|typename|override|final)\>" 0:attribute