【发布时间】:2015-06-04 08:53:22
【问题描述】:
我想在 vim + syntastic 中激活检查 scons 文件。
我的 .vimrc 包括:
au BufNewFile,BufRead SCons* set filetype=scons
let g:syntastic_scons_checkers = ['flake8']
打开一个 scons 文件和 :SyntasticInfo
Syntastic version: 3.6.0-86 (Vim 704, Linux)
Info for filetype: scons
Global mode: active
Filetype scons is active
The current file will be checked automatically
Available checkers: -
Currently enabled checkers: -
这里的检查器不是listet。怎么激活?
备注:flake8 适用于 python 文件。
【问题讨论】: