summaryrefslogtreecommitdiffstats
path: root/compiler/bundler.vim
blob: b129793a37077bfbedfc2ae5b5edc48c7fb81a43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
" Vim compiler file

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

let s:cpo_save = &cpo
set cpo-=C

CompilerSet makeprg=bundle

CompilerSet errorformat=
      \%+E%f:%l:\ parse\ error,
      \%W%f:%l:\ warning:\ %m,
      \%E%f:%l:in\ %*[^:]:\ %m,
      \%E%f:%l:\ %m,
      \%-C%\tfrom\ %f:%l:in\ %.%#,
      \%-Z%\tfrom\ %f:%l,
      \%-Z%p^,
      \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

" vim: sw=2: