我刚刚添加了jsonlint for
Syntastic,并没有捕捉任何语法错误. flake8在Python中工作正常,已经有一段时间了,但没有jsonlint.下面你会看到我的.vimrc的相关部分,我相信有一切我需要让这个下一个检查器工作.
的.vimrc
let g:syntastic_python_checkers=['flake8'] let g:syntastic_python_flake8_args = '--ignore="E501"' " ignore long lines let g:syntastic_json_checkers=['jsonlint'] " Better :sign interface symbols let g:syntastic_error_symbol = '✗' let g:syntastic_warning_symbol = '!'
哪个jsonlint
/usr/local/bin/jsonlint