From 482d393a22188421985ffd333f39430c92ba89be Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 17 May 2019 22:51:01 +1200 Subject: Break up long lines in sh syntax file --- vim/after/syntax/sh.vim | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'vim/after') 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 -- cgit v1.2.3