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
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel