Monday, December 28, 2009

Re: vimrc ignores formatoptions

On Dec 27, 9:33 pm, James Michael Fultz <croo...@gmail.com> wrote:
>
> setlocal fo-=cr

The rest of your response was valid, but it is NOT a good idea to do a
set-= with multiple letters, because if you do, it will only work if
the letters appear together exactly as you have them. For example, the
command given above will work on the formatoptions string 'tcrq' but
not on the option string 'tcorql', on which it will do nothing.
Instead do each letter separately, like "setlocal fo-=c fo-=r"

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment