Re: [Vim-latex-devel] Adding latex suite hooks for .w file type
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2008-08-07 15:52:23
|
> 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 <te...@te...> |