From 4afe79e8d5e4b0b8f62dabd6ce246aba70721c2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 23 Apr 2022 13:24:59 +0200 Subject: [PATCH] :wrench: add locales to kakoune syntax --- highlighters/gwion.kak | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.43.0