Syntastic和C.

时间:2016-05-09 05:58:37

标签: vim syntastic

我安装了gcc,clang和make。它们都不会作为可用的检查器出现在:SyntasticInfo中。

Syntastic version: 3.7.0-129 (Vim 704, Linux)
Info for filetype:
Global mode: active
Filetype  is active
The current file will be checked automatically
Available checkers: -
Currently enabled checkers: -
The current file will not be checked (file not readable / not local)

我的.vimrc文件中的设置:

let g:syntastic_c_compiler =['gcc', 'clang','make']
let g:syntastic_c_compiler_options ='-Wpedantic -g'
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0

0 个答案:

没有答案