summaryrefslogtreecommitdiff
path: root/mnv/runtime/compiler/perlcritic.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/compiler/perlcritic.mnv')
-rw-r--r--mnv/runtime/compiler/perlcritic.mnv24
1 files changed, 24 insertions, 0 deletions
diff --git a/mnv/runtime/compiler/perlcritic.mnv b/mnv/runtime/compiler/perlcritic.mnv
new file mode 100644
index 0000000000..cbb530d85f
--- /dev/null
+++ b/mnv/runtime/compiler/perlcritic.mnv
@@ -0,0 +1,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