rc kakrc: Highlight numbers

This commit is contained in:
Frank LENORMAND 2020-10-23 14:31:38 +03:00
parent 9a5cf2fc9f
commit b36f7b8440

View File

@ -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/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/fill fill string
add-highlighter shared/kakrc/double_string/escape regex '""' 0:default+b add-highlighter shared/kakrc/double_string/escape regex '""' 0:default+b