vim, right way to indent css and js inside html
问题 Couldn't find proper solution in old questions, so <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <style type="text/css"> body, input{ background-color:red; } </style> <script> function test() { return false } </script> </head> <body> <div></div> </body> </html> everything except code inside <style> and <script> tags indented ok, how can I fix it? 回答1: I use