1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 23:34:12 +03:00

fix shell string start and end regex

This commit is contained in:
xificurC 2015-07-02 21:59:34 +02:00
parent ee6fc92ae2
commit 8813580516

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