I tried below steps for xml it worked, I hope this will work for html too.1) first join all the lines - ggVGgJ2) Now break tags to new lines - :%s/>\s*</>\r</g3) Now set filetype - :set ft=html (you can do this before too)4) Now Indent - ggVG=转自:http://www.quora.com/How-do-you-auto-fo...【阅读全文】
1. [代码][JavaScript]代码 var AI = AI||{}; AI.historyTable = {}; //历史表 //人工智能初始化AI.init = function(pace){ var bill = AI.historyBill || com.gambit; //开局库 if (bill.length){ var...【阅读全文】