我正在使用cpplint与合成在VIM上,但我不能使用cpplint对C文件。
我使用.vimrc文件中的以下行为cpplint文件启用了cpplint:
let g:syntastic_cpp_cpplint_exec = 'cpplint'我试着用同样的方法来表示c:
let g:syntastic_c_cpplint_exec = 'cpplint'但这没什么用。SyntasticInfo命令仍然没有将cpplint列为可用的检查器。
发布于 2016-02-02 04:05:38
‘'cpplint’不包含在语法检查器列表中,而语法检查器是由Syntastic:https://github.com/scrooloose/syntastic/wiki/C使用的。你只可以使用avrgcc,校验补丁,clang_check,clang_tidy,cppcheck,gcc,make,oclint,pc_lint,稀疏,夹板。
https://stackoverflow.com/questions/35143439
复制相似问题