vim - How do I tidy up an HTML file's indentation in VI? -
How can I fix its huge HTML files which were all messed up?
I tried it as always, which I use to fix the code of code files, however, it does not work on the correct HTML file, it just removed all formatting.
I also tried to see that it is an XML file which will help but it has not yet been done, try to set : filetype = xml Let's do this.
My inside .vimrc , VIM indents quite well with HTML files on file type indent
2:
shiftwidth > with
Comments
Post a Comment