Hi Jeri! On Mi, 11 Aug 2010, Jeri Raye wrote:
> ######### Start of text ######### > if > > if > > end if > > end if > > if > > end if > ######### End of Text ######### > > > folds into > ######### Start of text ######### > +-- 3 lines: if > > +-- 6 lines: if > > end if > ######### End of Text ######### > > Notice the last end if that isnot taken into the fold. > Any idea how to fix that? I think this matches too much because this would start a new vhdlFold Region even in lines with that contain end if. Try something like this: :syn region vhdlFold start='^\z(if\)' end='^end\s\+\z1' fold transparent which limits the start and end region to match only at line start. regards, Christian -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
