Merge remote-tracking branch 'xificurC/sh-string-fix'
This commit is contained in:
commit
dbc1f1a8b6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user