Hi scowles!

On Fr, 19 Feb 2016, [email protected] wrote:

> On Fri, 12 Feb 2016, [email protected] wrote:
> 
> >Date: Fri, 12 Feb 2016 20:11:56
> >From: [email protected]
> >To: [email protected]
> >Subject: Re: another folding bug recently introduced?
> >
> >On Fri, 12 Feb 2016, Christian Brabandt wrote:
> >
> >>Date: Fri, 12 Feb 2016 00:29:45
> >>From: Christian Brabandt <[email protected]>
> >>To: [email protected]
> >>Subject: Re: another folding bug recently introduced?
> >>
> >>On Fr, 12 Feb 2016, Christian Brabandt wrote:
> >>
> >>>>the problem is that somewhere in the initialization routines,
> >>>>foldmethod is now being forced to syntax.  if i manually reset the
> >>>>foldmethod to marker, all is well.  it appears that the modeline is
> >>>>ignored.
> >>>
> >>>Yes, zsh syntax just recently enabled foldmethod=syntax. I'll fix that.
> >>
> >>Please check, if latest version from https://github.com/chrisbra/vim-zsh
> >>fixes your issue.
> >
> >this fixes my fold issue.
> 
> 
> final followup:  it is also possible to address this issue entirely
> from userspace by a simple reordering of options in the vim
> modeline. my previous modeline was:
> 
> #-vim-modeline 
> vim:fenc=utf-8:foldmarker={{{{,}}}}:foldmethod=marker:ft=zsh:nocrb:noscb:nowrap:sw=4:syn=on:ts=4:tw=0:wm=0
> 
> by changing it to the following, all is well even without the patch
> to zsh syntax.
> 
> #-vim-modeline 
> vim:ft=zsh:syn=on:foldmethod=marker:foldmarker={{{{,}}}}:fenc=utf-8:nocrb:noscb:nowrap:sw=4:ts=4:tw=0:wm=0
> 
> i mention this because changes in zsh syntax are not the only syntax
> plugin that affects folding.  so, judicious ordering of option
> placement in the modeline can successfully counter some unwanted
> option defaults found in syntax files.

Thanks for getting back. I'll post an updated file for inclusion with 
Vim soon.

Best,
Christian
-- 
Ein Vorurteil ist ziemlich sicher daran zu erkennen, daß man sich in
seiner Begründung ereifert.
                -- Victor de Kowa

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui