" Vim Compiler File " Compiler: Perl syntax checks (perl -Wc) " Maintainer: Christian J. Robinson <heptite@gmail.com> " Last Change: 2006 Aug 13 if exists("current_compiler") finish endif let current_compiler = "perl" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:savecpo = &cpo set cpo&vim if exists('g:perl_compiler_force_warnings') && g:perl_compiler_force_warnings == 0 let s:warnopt = 'w' else let s:warnopt = 'W' endif if getline(1) =~# '-[^ ]*T' let s:taintopt = 'T' else let s:taintopt = '' endif exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %' CompilerSet errorformat= \%-G%.%#had\ compilation\ errors., \%-G%.%#syntax\ OK, \%m\ at\ %f\ line\ %l., \%+A%.%#\ at\ %f\ line\ %l\\,%.%#, \%+C%.%# " Explanation: " %-G%.%#had\ compilation\ errors., - Ignore the obvious. " %-G%.%#syntax\ OK, - Don't include the 'a-okay' message. " %m\ at\ %f\ line\ %l., - Most errors... " %+A%.%#\ at\ %f\ line\ %l\\,%.%#, - As above, including ', near ...' " %+C%.%# - ... Which can be multi-line. let &cpo = s:savecpo unlet s:savecpo
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
README.txt | File | 437 B | 0644 |
|
ant.vim | File | 941 B | 0644 |
|
bcc.vim | File | 449 B | 0644 |
|
bdf.vim | File | 461 B | 0644 |
|
checkstyle.vim | File | 588 B | 0644 |
|
cs.vim | File | 626 B | 0644 |
|
cucumber.vim | File | 559 B | 0644 |
|
decada.vim | File | 1.9 KB | 0644 |
|
dot.vim | File | 372 B | 0644 |
|
erlang.vim | File | 273 B | 0644 |
|
eruby.vim | File | 859 B | 0644 |
|
fortran_F.vim | File | 702 B | 0644 |
|
fortran_cv.vim | File | 747 B | 0644 |
|
fortran_elf90.vim | File | 802 B | 0644 |
|
fortran_g77.vim | File | 1.12 KB | 0644 |
|
fortran_lf95.vim | File | 683 B | 0644 |
|
fpc.vim | File | 453 B | 0644 |
|
g95.vim | File | 677 B | 0644 |
|
gcc.vim | File | 1.09 KB | 0644 |
|
gfortran.vim | File | 671 B | 0644 |
|
gnat.vim | File | 2.36 KB | 0644 |
|
haml.vim | File | 555 B | 0644 |
|
hp_acc.vim | File | 1.03 KB | 0644 |
|
icc.vim | File | 585 B | 0644 |
|
ifort.vim | File | 690 B | 0644 |
|
intel.vim | File | 595 B | 0644 |
|
irix5_c.vim | File | 662 B | 0644 |
|
irix5_cpp.vim | File | 671 B | 0644 |
|
javac.vim | File | 399 B | 0644 |
|
jikes.vim | File | 520 B | 0644 |
|
mcs.vim | File | 864 B | 0644 |
|
mips_c.vim | File | 691 B | 0644 |
|
mipspro_c89.vim | File | 721 B | 0644 |
|
mipspro_cpp.vim | File | 701 B | 0644 |
|
modelsim_vcom.vim | File | 799 B | 0644 |
|
msbuild.vim | File | 529 B | 0644 |
|
msvc.vim | File | 294 B | 0644 |
|
neato.vim | File | 378 B | 0644 |
|
ocaml.vim | File | 1.3 KB | 0644 |
|
onsgmls.vim | File | 503 B | 0644 |
|
pbx.vim | File | 469 B | 0644 |
|
perl.vim | File | 1.18 KB | 0644 |
|
php.vim | File | 707 B | 0644 |
|
pyunit.vim | File | 407 B | 0644 |
|
rake.vim | File | 762 B | 0644 |
|
rspec.vim | File | 734 B | 0644 |
|
rst.vim | File | 622 B | 0644 |
|
ruby.vim | File | 1.03 KB | 0644 |
|
rubyunit.vim | File | 739 B | 0644 |
|
sass.vim | File | 594 B | 0644 |
|
se.vim | File | 742 B | 0644 |
|
splint.vim | File | 2.22 KB | 0644 |
|
tcl.vim | File | 414 B | 0644 |
|
tex.vim | File | 1.71 KB | 0644 |
|
tidy.vim | File | 595 B | 0644 |
|
xbuild.vim | File | 509 B | 0644 |
|
xmllint.vim | File | 561 B | 0644 |
|
xmlwf.vim | File | 454 B | 0644 |
|