如何判断Syntastic在保存时不编译我的
Java代码?我试过跟随我的.vimrc:
让g:syntastic_disabled_filetypes = [‘java’]
让g:syntastic_java_checker =’checkstyle’
让g:syntastic_java_checker =”
let g:syntastic_mode_map = { 'mode': 'active',\ 'active_filetypes': ['foo','bar'],\ 'passive_filetypes': ['java'] }
这应该工作.