equal
deleted
inserted
replaced
|
1 " Vim Compiler File |
|
2 " Compiler: perlcritic |
|
3 " Maintainer: Scott Peshak <speshak@gmail.com> |
|
4 " Last Change: 2006 Dec 19 |
|
5 |
|
6 if exists("current_compiler") |
|
7 finish |
|
8 endif |
|
9 let current_compiler = "perlcritic" |
|
10 |
|
11 if exists(":CompilerSet") != 2 |
|
12 command -nargs=* CompilerSet setlocal <args> |
|
13 endif |
|
14 |
|
15 let s:cpo_save = &cpo |
|
16 set cpo-=C |
|
17 |
|
18 CompilerSet makeprg=perlcritic\ -verbose\ 1\ -2\ % |
|
19 CompilerSet errorformat=%f:%l:%c:%m |
|
20 |
|
21 let &cpo = s:cpo_save |
|
22 unlet s:cpo_save |