forked from vim-syntastic/syntastic
-
Notifications
You must be signed in to change notification settings - Fork 0
C++: cpplint
LCD 47 edited this page Jun 12, 2016
·
10 revisions
This file exists only as a historic reference. Documentation for syntastic
checkers is now included in the manual, please see :help syntastic-checkers
in Vim.
Maintainer: LCD 47 [email protected]
For details about cpplint see the project's page.
- g:syntastic_cpp_cpplint_thres (integer; default: 5)
- error threshold: policy violations with a severity above this value are highlighted as errors, the others are warnings
- g:syntastic_cpp_cpplint_args (string; default: `--verbose=3`)
- command line options to pass to cpplint
By default syntastic expects the cpplint script to be named cpplint.py
.
However, if your cpplint was installed with pip
, the script's name is
cpplint
, and you need to set g:syntastic_cpp_cpplint_exec
accordingly:
let g:syntastic_cpp_cpplint_exec = 'cpplint'
[Syntastic Wiki][0] [0]: https://github.com/scrooloose/syntastic/wiki/