Usually the only way doing something like this is

:set ft=html :-)

or checking wether you're on a HTML syntax region.

Have a look at :e $VIMRUNTIME/**/phpcomplete.vim files.

I think it already does something like what you you're looking for.
I may be wrong though.

Marc Weber

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to