summaryrefslogtreecommitdiff
path: root/mnv/runtime/compiler/perlcritic.mnv
blob: cbb530d85f2d23f150ee2efe86b1e53ae23adb13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
" MNV compiler file
" Compiler:      perlcritic
" Maintainer:    mnv-perl <mnv-perl@googlegroups.com> (need to be subscribed to post)
" Author:        Doug Kearns <dougkearns@gmail.com>
" Homepage:      https://github.com/mnv-perl/mnv-perl
" Bugs/requests: https://github.com/mnv-perl/mnv-perl/issues
" License:       MNV License (see :help license)
" Last Change:   2021 Oct 20
"                2024 Apr 03 by The MNV Project (removed :CompilerSet definition)

if exists("current_compiler")
  finish
endif
let current_compiler = "perlcritic"

let s:cpo_save = &cpo
set cpo&mnv

CompilerSet makeprg=perlcritic\ --nocolor\ --quiet\ --verbose\ \"\\%f:\\%l:\\%c:\\%s:\\%m\\n\"
CompilerSet errorformat=%f:%l:%c:%n:%m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save