From 7f5ee59d8eafd71342d7caf891e0cfe31f7d3ec0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 24 Jul 2015 14:12:16 +0000 Subject: 35809: zyodl.vim: Fix nested parentheses --- Util/zyodl.vim | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'Util') diff --git a/Util/zyodl.vim b/Util/zyodl.vim index 94efb298d..b67bfa54e 100644 --- a/Util/zyodl.vim +++ b/Util/zyodl.vim @@ -22,8 +22,12 @@ " example(print *.c+LPAR()#q:s/#%+LPAR()#b+RPAR()s+LPAR()*+RPAR().c/'S${match[1]}.C'/+RPAR()) " ifzman(zmanref(zshmisc))ifnzman(noderef(Redirection)) " LPAR()foo 42 foo+RPAR() +" chapter(foo (foo) foo) +" chapter(foo (foo (foo) foo) foo) bar +" +" sitem(foo)(foo (foo) foo) +" sitem(foo)(foo (foo) foo) " -" chapter(foo (foo) foo) # nested parentheses " sitem(foo)(foo tt(foo) foo) # nested underline if exists("b:current_syntax") @@ -33,25 +37,28 @@ endif "" Syntax groups: syn clear syn cluster zyodlInline contains=zyodlTt,zyodlVar,zyodlBold,zyodlEmph,zyodlCond -syn region zyodlTt start="\