2012-03-10 21 views

答えて

3

&filetypeを使用すると、この単純な機能のようになります。

function ToggleFT() 
    if &filetype == 'html' 
    set filetype=php 
    elseif &filetype == 'php' 
    set ft=html 
    endif 
endfunction 
関連する問題