Vim: gg=G 左对齐,不自动缩进 [英] Vim: gg=G aligns left, does not auto-indent
本文介绍了Vim: gg=G 左对齐,不自动缩进的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试使用 gg=G
修复 HTML 文件的缩进时,每一行都失去了缩进并变为左对齐.有人知道这里会发生什么吗?
test.html
<头><meta http-equiv="content-type" content="text/html; charset=utf-8"><title>缩进测试</title>头部><身体><div id="测试"><div id="test2">