Use vim-autoclose instead of closetag.