blob: 2faf2416ab38349729d4b7866d9337a06305016f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
" vim compiler file
" Compiler: cppcheck (C++ static checker)
" Maintainer: Vincent B. (twinside@free.fr)
" Last Change: 2010 mars 14
if exists("cppcheck")
finish
endif
let current_compiler = "cppcheck"
let s:cpo_save = &cpo
set cpo-=C
setlocal makeprg=cppcheck\ --enable=all\ .
setlocal errorformat=\[%f:%l\]:\ (%t%s)\ %m
let &cpo = s:cpo_save
unlet s:cpo_save
"vim: ft=vim
|