Wednesday, June 12, 2013

Re: about formatoptions




On Wed, Jun 12, 2013 at 10:49 AM, wangjun850725 <wangjun850725@gmail.com> wrote:
hi:
I set
set formatoptions-=o
or
set formatoptions=crql
or
autocmd BufRead *.c  set formatoptions-=o
in _vimrc file, it all don't work
 
why?
 
best
      regards

--


$VIMRUNTIME/ftplugin/c.vim:

setlocal fo-=t fo+=croql

Create your own ftplugin/c.vim file in &rtp/after.

Also, look at

:help 'rtp'
:help after-directory
:help ftplugin

Salman

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