[Vim-latex-devel] Adding latex suite hooks for .w file type

2008-08-07 Thread Rhys Ulerich
Hi all, 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

Re: [Vim-latex-devel] Adding latex suite hooks for .w file type

2008-08-07 Thread Ted Pavlic
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

Re: [Vim-latex-devel] Adding latex suite hooks for .w file type

2008-08-07 Thread Till Maas
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

Re: [Vim-latex-devel] Adding latex suite hooks for .w file type

2008-08-07 Thread Ted Pavlic
Adding a file ~/.vim/ftdetect/vim-latex.vim containing: au BufNewFile,BufRead *.w set ft=tex I was thinking of something similar, but I was afraid that that would blow away any cweb-specific hooks from the cweb filetype. So it seemed like a better idea to do the symlink option so that the