From 44483e06f782b3d9ee0a599091d0198007c88338 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 3 Oct 2018 15:16:16 +0300 Subject: [PATCH] Simplifed regex variant by mawww --- rc/core/c-family.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 1249e4c0..f131afaa 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -154,7 +154,7 @@ evaluate-commands %sh{ } # c specific -add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([uU][lL]{1,2}|[uU]|[lL]{1,2}|[lL]{1,2}[uU]|[fFdDiI])?|'((\\.)?|[^'\\])'} 0:value +add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([uU][lL]{0,2}|[lL]{1,2}[uU]?|[fFdDiI])?|'((\\.)?|[^'\\])'} 0:value evaluate-commands %sh{ # Grammar keywords="asm break case continue default do else for goto if return