From b36f7b84404fc258d5688a82d0a6b3ea9ddccb97 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Fri, 23 Oct 2020 14:31:38 +0300 Subject: [PATCH] rc kakrc: Highlight numbers --- rc/filetype/kakrc.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/filetype/kakrc.kak b/rc/filetype/kakrc.kak index 301d4261..c1f94ea7 100644 --- a/rc/filetype/kakrc.kak +++ b/rc/filetype/kakrc.kak @@ -82,6 +82,7 @@ evaluate-commands %sh{ } add-highlighter shared/kakrc/code/colors regex \b(rgb:[0-9a-fA-F]{6}|rgba:[0-9a-fA-F]{8})\b 0:value +add-highlighter shared/kakrc/code/numbers regex \b\d+\b 0:value add-highlighter shared/kakrc/double_string/fill fill string add-highlighter shared/kakrc/double_string/escape regex '""' 0:default+b