Re: [Vim-latex-devel] Seting TeX flavor properly in Vim7
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2008-08-07 13:16:48
|
> Looking at the comments in /usr/share/vim/vim71/filetype.vim it may be a bug > im vim, because they default to plain instead of latex, when they do not find Excellent point. I posted a message (referencing your message here) to the vim_use list. In retrospect, perhaps the vim-dev list would have been better. > Btw. it is possible to add a "plaintex_latexSuite.vim -> tex_latexSuite.vim" > symlink in the ftplugin dir of vim-latex, then vim-latex will also open for > empty .tex files. But I am not sure, whether or not this is a good solution. Good point. Though, looking at those comments and the code, setting g:tex_flavor seems like the preferred/sanctioned solution. --Ted -- Ted Pavlic <te...@te...> |