Re: [Vim-latex-devel] Seting TeX flavor properly in Vim7
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2008-08-05 20:44:50
|
> 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. Try opening an empty file (e.g., "blah.tex") with no preamble. On my system, if Vim can't find a "\documentclass{article}", it defaults to plaintex. As a result, none of the Vim-LaTeX menus load in gvim (or mvim in my case) and none of the folding/shortcuts/etc. work. --Ted -- Ted Pavlic <te...@te...> |