Skip to content

Commit b7a6ee3

Browse files
committed
Ignore cargo messages like Blocking waiting for ...
Whenever Cargo tries to build a project while there is another build in progress, Cargo will wait for the other build to finish, and print messages like this: ``` Blocking waiting for file lock on package cache Blocking waiting for file lock on package cache Blocking waiting for file lock on build directory ``` Those messages were not ignored, and were therefore included in the quickfix, making it look like there were some issues even if the build succeeded. This commit configures `&errorformat` to ignore those messages and avoid including them in the quickfix. Closes rust-lang#499 .
1 parent 889b9a7 commit b7a6ee3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/cargo.vim

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ CompilerSet errorformat+=
3737
\%-G%\\s%#Checking%.%#,
3838
\%-G%\\s%#Compiling%.%#,
3939
\%-G%\\s%#Finished%.%#,
40+
\%-G%\\s%#Blocking\ waiting%.%#,
4041
\%-G%\\s%#error:\ Could\ not\ compile\ %.%#,
4142
\%-G%\\s%#To\ learn\ more\\,%.%#,
4243
\%-G%\\s%#For\ more\ information\ about\ this\ error\\,%.%#,

0 commit comments

Comments
 (0)