File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ CompilerSet errorformat+=
40
40
\% Wwarning: \ % m ,
41
41
\% Inote:\ % m ,
42
42
\% C\ % #-- >\ % f :% l: % c ,
43
- \% C%* [0 - 9 \ ]\\ |% .% #
43
+ \% C%* [0 - 9 \ ]\| % .% #
44
44
45
45
let &cpo = s: cpo_save
46
46
unlet s: cpo_save
Original file line number Diff line number Diff line change @@ -20,16 +20,20 @@ function! SyntaxCheckers_rust_rustc_GetLocList() dict
20
20
let errorformat =
21
21
\ ' %E%f:%l:%c: %\d%#:%\d%# %.%\{-}error:%.%\{-} %m,' .
22
22
\ ' %W%f:%l:%c: %\d%#:%\d%# %.%\{-}warning:%.%\{-} %m,' .
23
- \ ' %C%f:%l %m, '
23
+ \ ' %C%f:%l %m'
24
24
25
25
" New errorformat (after nightly 2016/08/10)
26
26
let errorformat .=
27
+ \ ' ,' .
28
+ \ ' %-G,' .
29
+ \ ' %-Gerror: aborting %.%#,' .
30
+ \ ' %-Gerror: Could not compile %.%#,' .
27
31
\ ' %Eerror: %m,' .
28
32
\ ' %Eerror[E%n]: %m,' .
29
33
\ ' %Wwarning: %m,' .
30
34
\ ' %Inote: %m,' .
31
35
\ ' %C %#--> %f:%l:%c,' .
32
- \ ' %C%.%#'
36
+ \ ' %C%*[0-9 ]|% .%#'
33
37
34
38
return SyntasticMake ({
35
39
\ ' makeprg' : makeprg ,
You can’t perform that action at this time.
0 commit comments