Re: [Vim-latex-devel] Adding latex suite hooks for .w file type
Brought to you by:
srinathava,
tmaas
From: Till M. <ope...@ti...> - 2008-08-07 15:59:49
|
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 |