How did you install the plugin?
I had problems with closetag.vim when I installed it in ~/.vim/plugins . Then I moved it to ~/.vim/scripts and added the following to my .vimrc :
:let g:closetag_html_style=1 :source ~/.vim/scripts/closetag.vim
and now it works great for me. I found that it closes all tags (including those that are on the ignore list), but not those that are self-closing (for example, <img/> ).
In the version of the script that I am using (0.9.1), it defines <C-_> as a trigger to complete the tags. If you matched the command with <tab> , this should work too.
source share