> 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.

Try copying (or symlinking)

~/.vim/ftplugin/tex_latexSuite.vim

to

~/.vim/ftplugin/cweb_latexSuite.vim

That should trigger loading the suite for files of the "cweb" type.

(note: if you type ":set ft?" in command mode when you're editing such a 
file, you'll see it's filetype is "cweb" and not "w")

--Ted


-- 
Ted Pavlic <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
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

Reply via email to