Thursday, May 23, 2013

Re: Implementing nested braces for syntax folding

On Thursday, May 23, 2013 2:08:16 PM UTC-5, Rob Hoelz wrote:
> Hi all,
>
>
>
> I'm working on bringing the Perl runtime files up to speed for the upcoming 7.4 release, but I've encountered an interesting bug and seek the community's help. Attached is an example Perl file. When using the HEAD of vim-perl (https://github.com/vim-perl/vim-perl), the three subroutines fold properly with the default settings. However, with perl_fold_anonymous_subs set to 1, the folding for the third subroutine (which has attributes, which seems to trigger this odd behavior), the fold is not properly ended

I've wanted for a while to get Perl folding to work based on open-close brace only, instead of relying on indent.

Since you are already messing with the syntax folding, what are the chances of getting that working as part of your updates? I got it working once before it went to github, but I wasn't able to get it working again the last time I tried.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: