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 on file type indent , VIM indents quite well with HTML files

2:

Example shiftwidth > with
 

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -