Merge remote-tracking branch 'xificurC/sh-string-fix'

This commit is contained in:
Maxime Coste 2015-07-03 20:59:22 +01:00
commit dbc1f1a8b6

View File

@ -7,8 +7,8 @@ hook global BufSetOption mimetype=text/x-shellscript %{
}
addhl -group / regions -default code sh \
double_string %{"} %{(?<!\\)(\\\\)*"} '' \
single_string %{'} %{(?<!\\)(\\\\)*'} '' \
double_string %{(?<!\\)(\\\\)*\K"} %{(?<!\\)(\\\\)*"} '' \
single_string %{(?<!\\)(\\\\)*\K'} %{'} '' \
comment '(?<!\$)#' '$' ''
addhl -group /sh/double_string fill string