Yes, Vim can auto complete HTML tags inside any file as long as you have the option enabled with the following: set omnifunc=htmlcomplete#CompleteTags