summaryrefslogtreecommitdiffstats
path: root/compiler/bundler.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/bundler.vim')
-rw-r--r--compiler/bundler.vim26
1 files changed, 26 insertions, 0 deletions
diff --git a/compiler/bundler.vim b/compiler/bundler.vim
new file mode 100644
index 00000000..b129793a
--- /dev/null
+++ b/compiler/bundler.vim
@@ -0,0 +1,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: