diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index e75c93c70..461545fb7 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -164,7 +164,7 @@ evaluate-commands %sh{ } # c specific -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 +add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([uU][lL]{0,2}|[lL]{1,2}[uU]?|[fFdDiI]|([eE][-+]?\d+))?|'((\\.)?|[^'\\])'} 0:value evaluate-commands %sh{ # Grammar keywords='asm break case continue default do else for goto if return