aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-17 22:51:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-17 22:51:01 +1200
commit482d393a22188421985ffd333f39430c92ba89be (patch)
tree402f19847f2b008b1b7217cf704eee2acf6a22c6 /vim/after
parentUpdate vim-perl-version-bump to v1.2.0 (diff)
downloaddotfiles-482d393a22188421985ffd333f39430c92ba89be.tar.gz
dotfiles-482d393a22188421985ffd333f39430c92ba89be.zip
Break up long lines in sh syntax file
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/syntax/sh.vim12
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