diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-17 22:51:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-17 22:51:01 +1200 |
commit | 482d393a22188421985ffd333f39430c92ba89be (patch) | |
tree | 402f19847f2b008b1b7217cf704eee2acf6a22c6 /vim/after/syntax/sh.vim | |
parent | Update vim-perl-version-bump to v1.2.0 (diff) | |
download | dotfiles-482d393a22188421985ffd333f39430c92ba89be.tar.gz dotfiles-482d393a22188421985ffd333f39430c92ba89be.zip |
Break up long lines in sh syntax file
Diffstat (limited to 'vim/after/syntax/sh.vim')
-rw-r--r-- | vim/after/syntax/sh.vim | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim index 797bdab9..af7670d5 100644 --- a/vim/after/syntax/sh.vim +++ b/vim/after/syntax/sh.vim @@ -133,11 +133,19 @@ if exists('b:is_posix') \ nextgroup=@shDerefPatternList syntax match shDerefPattern contained \ '[^{}]\+' - \ contains=shDeref,shDerefSimple,shDerefPattern,shDerefString,shCommandSub,shDerefEscape + \ contains=shDeref + \,shCommandSub + \,shDerefEscape + \,shDerefPattern + \,shDerefSimple + \,shDerefString \ nextgroup=shDerefPattern syntax region shDerefPattern contained \ start='{' end='}' - \ contains=shDeref,shDerefSimple,shDerefString,shCommandSub + \ contains=shDeref + \,shCommandSub + \,shDerefSimple + \,shDerefString \ nextgroup=shDerefPattern endif |