Vim indent xml file

后端 未结 9 1778
北恋
北恋 2020-12-07 08:05

I am learning Vim but I thought this was a simple task but I cannot get it to work. I have browser SO but the solutions are not working for me.

I am trying to correc

9条回答
  •  太阳男子
    2020-12-07 08:14

    for those one which is using coc.nvim plugin, you can install coc-xml by :CocInstall coc-xml , then mapping format key in your config file: nmap fm (coc-format). From now on, you can format not only xml file but other file very easy

提交回复
热议问题