1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-14 13:32:37 +03:00
This commit is contained in:
Maxime Coste 2019-03-16 12:40:40 +11:00
commit da687f8b7d

View File

@ -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