[Vim-latex-devel] vim-latexsuite overwriting formatoptions?
Brought to you by:
srinathava,
tmaas
From: Ng Oon-Ee <ng...@gm...> - 2010-09-07 04:18:47
|
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 |