Hi all,

My .vimrc sets some formatoptions (tcqo) for some other plugins that I
use, but on installing vim-latexsuite those options are ALWAYS
overwritten when I open my *.cpp and *.h files. My vim-foo isn't
strong enough to understand exactly why its happening, but I think its
about line 71-85 of /usr/share/vim/vimfiles/ftplugin/latex-suite, all
around the line that goes:-

set fo=

In my (basic) understanding the formatoptions are supposed to be
restored after that, but they don't seem to be. The same problem
happens with other files, but not when I first open vim (blank without
a file).

In my opinion vim-latexsuite should really change formatoptions when
the file is a bibtex or *.tex file. Can that be done with a simple
change? What other options do I have?

Thanks in advance,
Ng Oon-Ee

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to