aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/perlcritic.vim
blob: 381e0df3e85ce9a4c0e9e8f60cb921d5437ae6ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
if exists('current_compiler')
  finish
endif
let g:current_compiler = 'tidy'

if exists(':CompilerSet') != 2
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=perlcritic\ --verbose\ 1\ %:S
CompilerSet errorformat=%f:%l:%c:%m