aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/mpvim/compiler/portfile.vim
blob: d5a05eb2cb7ef2ac76945b1cfdbc7d1a2510c9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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