Re: [Vim-latex-devel] Seting TeX flavor properly in Vim7
Brought to you by:
srinathava,
tmaas
From: Till M. <ope...@ti...> - 2008-08-05 18:48:34
|
On Mon August 4 2008, Ted Pavlic wrote: > In the recent patches that were applied to Vim-LaTeX, was the line: > > let g:tex_flavor='latex' > > added somewhere? Without it, Vim7's filetype plugin fails to load > Vim-LaTeX. Something changed between Vim6 and Vim7 that made latex *not* > the default, which seems strange. According to svn in the file trunk/vimfiles/ftplugin/latex-suite/texrc, there was the following line since 2002-04-30: TexLet g:Tex_Flavor = 'latex' This is the comment about it: " NOTE: The values of g:Tex_Flavor and g:Tex_CompilerFlags are provided as a " way to make compiler/tex.vim standalone. i.e independent of the rest " of latex-suite. These variables are NOT used if you have already " defined g:Tex_CompileRule_dvi above. " " specifies the current latex flavor. Hth, Till |