add "filetype indent on" to .vimrc
autocomplete end tags of HTML and XML