From 7419f8241a5881c135927d95e3b1408b2dde8530 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Fri, 8 Jul 2016 13:13:08 +0300 Subject: [PATCH] Fix operators highlighting in shell scripts --- rc/core/sh.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/sh.kak b/rc/core/sh.kak index a38efeb01..0e1cf76b3 100644 --- a/rc/core/sh.kak +++ b/rc/core/sh.kak @@ -32,7 +32,7 @@ addhl -group /sh/comment fill comment printf %s "addhl -group /sh/code regex \b(${keywords})\b 0:keyword" } -addhl -group /sh/code regex [\[\]\(\)&|]{2}|\[\s|\s\] 0:operator +addhl -group /sh/code regex [\[\]\(\)&|]{1,2} 0:operator addhl -group /sh/code regex (\w+)= 1:identifier addhl -group /sh/code regex ^\h*(\w+)\h*\(\) 1:identifier