Tuesday, December 6, 2011

Problems with closetag.vim

Hi,

I'm starting to use gvim as a text editor for webdevelopment, and I'm
installing some plugins to increase my productivity.

One of the first I've installed is closetag.vim, so tags are
automatically closed as they're input, but it's not working.

I've downloaded the plugin from here:

http://www.vim.org/scripts/script.php?script_id=13

And followed the instructions in the same page, even put this on my ~/.vimrc

:au Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim

I've then open a file for testing with:

vim foo.html

Then I insert an <html> tag, but it's not closed.

I'm pretty sure that I'm making something wrong, since I'm starting with
vim and I'm still a bit lost.

May someone help me?

Thanks a lot in advance,

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

No comments: