aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/mpvim/compiler/portfile.vim
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/mpvim/compiler/portfile.vim')
-rw-r--r--bundle/mpvim/compiler/portfile.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/bundle/mpvim/compiler/portfile.vim b/bundle/mpvim/compiler/portfile.vim
new file mode 100644
index 0000000..d5a05eb
--- /dev/null
+++ b/bundle/mpvim/compiler/portfile.vim
@@ -0,0 +1,13 @@
+" vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+
+" Vim compiler file
+" Author: Maximilian Nickel <mnick@macports.org>
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "portfile"
+
+setlocal makeef=/tmp/portfile##.err
+setlocal makeprg=cd\ %:p:h\ &&\ port\ lint\ --nitpick\ 2>&1\ \\\|\ grep\ -v\ \"\\\-\\\->\"
+setlocal errorformat=Warning\:\ Line\ %l\ %m,Error\:%m,Warn\:%m,%m