Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

C++: cpplint

LCD 47 edited this page Jun 12, 2016 · 10 revisions

This file is no longer maintained

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 lcd047@gmail.com

For details about cpplint see the project's page.

Checker options

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

Note

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'
Clone this wiki locally