On Tue August 5 2008, Ted Pavlic wrote: > Till -- > > Thanks for looking that up, but I'm not sure how it applies. > > As of Vim7, if you don't have: > > let g:tex_flavor='latex' > > then the default filetype behavior to a ".tex" file is to treat it as > plaintex. In that case, Vim-LaTeX is not invoked at all and thus the > texrc doesn't get run.
I have vim 7.1.245 from Fedora, which ships some tex.vim files. Nevertheless vim-latex is still run, e.g. the folding is still done by vim-latex and \ll runs latex. Maybe some features are not working, is there some minimal tex file where something does not work for you without setting tex_flavor? Or where may tex_flaveor be already set, it is not in my .vimrc or in /etc/vimrc. > It looks like some native Vim compiler support was added in Vim7. That > support wasn't there in 6, and so Vim-LaTeX would get started > automatically. Now, in a vanilla Vim7 installation with no explicit > g:tex_flavor set, Vim-LaTeX is ignored. Here vim provides these files: /usr/share/vim/vim71/compiler/tex.vim /usr/share/vim/vim71/ftplugin/initex.vim /usr/share/vim/vim71/ftplugin/plaintex.vim /usr/share/vim/vim71/ftplugin/tex.vim /usr/share/vim/vim71/syntax/initex.vim /usr/share/vim/vim71/syntax/plaintex.vim /usr/share/vim/vim71/syntax/tex.vim I do not know how they interfer with vim-latex, though. Regards, Till
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel