From 0df72bd672f0ab9b521c4306d89ffd607c537e5c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 2 Oct 2015 13:43:37 +0100 Subject: [PATCH] Recognize single brackets in sh.kak --- rc/sh.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/sh.kak b/rc/sh.kak index 6762a62f..56a63319 100644 --- a/rc/sh.kak +++ b/rc/sh.kak @@ -16,7 +16,7 @@ addhl -group /sh/single_string fill string addhl -group /sh/comment fill comment addhl -group /sh/code regex \<(alias|bind|builtin|caller|case|cd|command|coproc|declare|do|done|echo|elif|else|enable|esac|exit|fi|for|function|help|if|in|let|local|logout|mapfile|printf|read|readarray|readonly|return|select|set|shift|source|test|then|time|type|typeset|ulimit|unalias|until|while)\> 0:keyword -addhl -group /sh/code regex [\[\]\(\)&|]{2} 0:operator +addhl -group /sh/code regex [\[\]\(\)&|]{2}|\[\s|\s\] 0:operator addhl -group /sh/code regex (\w+)= 1:identifier addhl -group /sh/code regex ^\h*(\w+)\h*\(\) 1:identifier