From: Jérémie Astor Date: Sat, 23 Apr 2022 11:24:59 +0000 (+0200) Subject: :wrench: add locales to kakoune syntax X-Git-Tag: nightly~278 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=4afe79e8d5e4b0b8f62dabd6ce246aba70721c2e;p=gwion.git :wrench: add locales to kakoune syntax --- diff --git a/highlighters/gwion.kak b/highlighters/gwion.kak index e79652f9..ce0c2b1b 100644 --- a/highlighters/gwion.kak +++ b/highlighters/gwion.kak @@ -51,6 +51,8 @@ provide-module -override gwion %{ # literals add-highlighter shared/gwion/other/ regex "\B'((\\.)|[^'\\])'\B" 0:value # char + add-highlighter shared/gwion/other/ regex "\B`((\\.)|[^'\\])*`\B" 0:value # locales + add-highlighter shared/gwion/other/ regex "\d+(u|U|l|L)?" 0:value # decimal add-highlighter shared/gwion/other/ regex "((\d+\.\d*)|(\d*\.\d+))([eE][\+-]\d+)*" 0:value # float