我到.vim /文件類型插件/ html.vim得到這個: set makeprg=%!tidy\ -q\ -i\ --show-warnings\ no
如果我做一個html文件,我得到這個錯誤: E499: Empty file name for '%' or '#', only works with ":p:h"
當我執行此操作時: :%!tidy -q -i --show-warn
例如,我使用CMS,它使用在頁面上的所有內容之前解析的自定義標籤。這可以出現在標準文件格式的.html,.PHP <v:img for="portfolio" />
,它會創建一個基於後端的所有規格的圖像.. 還搞什麼 <v:php>
// Code here is different than <?php ?> which is rendered after v:php
</v:php>