On Thu August 7 2008, Rhys Ulerich wrote:
> I'd like to enable latex suite within my CWEB source files (.w extension).
> Vim has a cweb syntax option (set syntax=cweb). Any idea how to trigger
> loading latex suite for .w files? I've tried copying my
> ~/.vim/ftplugin/tex.vim and tex_latexSuite.vim to parallel versions
> starting with 'w', but no luck yet.
A symlink from cweb_latexSuite.vim to tex_latexSuite.vim will probably oben
vim latex for cweb.
Adding a file ~/.vim/ftdetect/vim-latex.vim containing:
au BufNewFile,BufRead *.w set ft=tex
worked here.
Regards,
Till
|