.vimrcに下記のコードを追加する。
” vimでPHPの文法チェック ” ,lと入力するだけでPHPの文法チェックができる ” PHP Lint nmap ,l :call PHPLint() ” PHPLint ” @author halt feits function PHPLint() let result = system( &ft . ‘ -l ‘ . bufname(”")) echo result endfunction
http://linuxserver.jp/software/editor/vim-phplint