summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/exunit.vim10
-rw-r--r--compiler/rspec.vim1
2 files changed, 9 insertions, 2 deletions
diff --git a/compiler/exunit.vim b/compiler/exunit.vim
index dfb0ea3c..9fc921a5 100644
--- a/compiler/exunit.vim
+++ b/compiler/exunit.vim
@@ -16,9 +16,15 @@ endif
let s:cpo_save = &cpo
set cpo-=C
-
CompilerSet makeprg=mix\ test
-CompilerSet errorformat=%A\ \ %.)\ %m(%.%#),%C\ \ \ \ \ **%m,%C\ \ \ \ \ \ \ %m,%Z\ \ \ \ \ at\ %f:%l,%-G%.%#
+CompilerSet errorformat=
+ \%E\ \ %n)\ %m,
+ \%+G\ \ \ \ \ **\ %m,
+ \%+G\ \ \ \ \ stacktrace:,
+ \%C\ \ \ \ \ %f:%l,
+ \%+G\ \ \ \ \ \ \ (%\\w%\\+)\ %f:%l:\ %m,
+ \%+G\ \ \ \ \ \ \ %f:%l:\ %.%#,
+ \**\ (%\\w%\\+)\ %f:%l:\ %m
let &cpo = s:cpo_save
unlet s:cpo_save
diff --git a/compiler/rspec.vim b/compiler/rspec.vim
index 342b2a76..8c5a5fe3 100644
--- a/compiler/rspec.vim
+++ b/compiler/rspec.vim
@@ -27,6 +27,7 @@ CompilerSet errorformat=
\%-Z\ \ \ \ \ %\\+\#\ %f:%l:%.%#,
\%E\ \ %\\d%\\+)%.%#,
\%C\ \ \ \ \ %m,
+ \%C%\\s%#,
\%-G%.%#
let &cpo = s:cpo_save