73473Re: Patch: formatoptions in ftplugins
- Oct 2, 2013David Barnett wrote:
> +Nikolai +Bram +Tim (authors of the majority of these plugins)I think we should make a difference between the case the user has not
> I'm confident we can get consensus to at least remove a few of those
> formatoptions modifications. You should also add "setlocal
> formatoptions-=3Dt" in pretty much every case (unless your syntax is fine
> with any arbitrary space being converted to a newline). ftplugin/python.vim
> should be setting -t, for instance.
> FYI, these settings affect what happens when you set &textwidth to
> non-zero, so the problem usually only comes up when users want to set
> &textwidth and use &colorcolumn.
set any formatting options and when he did. If there are no user
preferences, the user expects the filetype plugin to do it all. If the
user did set preferences, we should indeed avoid overruling these when
they are not specific for the filetype.
Once we agree, an explanation needs to be added to :help
Not too long ago, unzipping in public was illegal...
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
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 vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>