2010-12-03 43 views

回答

2

該函數的代碼是什麼?

function CssClean() 
    %[email protected]\v/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/@@g 
    call CssPretty() 
    %le 
    %s/{\_.\{-}}/\=substitute(submatch(0), '\n', '', 'g')/ 
    nohl 
    normal! Gdd 
endfunction 

應該可以正常工作。

+0

謝謝隊友! :D – 2010-12-03 06:23:06