Skip to content

Commit e9d495b

Browse files
kelvinstjbodah
authored andcommitted
Improving the error format for mix compile
1 parent edf94f7 commit e9d495b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

compiler/mix.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ if exists(":CompilerSet") != 2
88
endif
99

1010
CompilerSet makeprg=mix\ compile
11-
CompilerSet errorformat=%A%t%*[^:]:\ %m,%C%f:%l:\ %m,%C%f:%l,%Z
11+
CompilerSet errorformat=
12+
\%Wwarning:\ %m,
13+
\%C%f:%l,%Z,
14+
\%E==\ Compilation\ error\ in\ file\ %f\ ==,
15+
\%C**\ (%\\w%\\+)\ %f:%l:\ %m,%Z
16+

0 commit comments

Comments
 (0)