mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 15:23:29 +03:00
fix shell string start and end regex
This commit is contained in:
parent
ee6fc92ae2
commit
8813580516
@ -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