diff --git a/rc/sh.kak b/rc/sh.kak index 38639070..2a45f73c 100644 --- a/rc/sh.kak +++ b/rc/sh.kak @@ -7,15 +7,15 @@ hook global BufSetOption mimetype=text/x-shellscript %{ } addhl -group / regions -default code sh \ - double_string %{(^|\h)"} %{(? 0:keyword +addhl -group /sh/code regex \<(if|then|else|elif|fi|while|for|do|done|case|esac|echo|cd|shift|return|exit|local)\> 0:keyword addhl -group /sh/code regex [\[\]\(\)&|]{2} 0:operator addhl -group /sh/code regex (\w+)= 1:identifier addhl -group /sh/code regex ^\h*(\w+)\h*\(\) 1:identifier