From 93115c7e6d715bf55281e176d904cae7fca12950 Mon Sep 17 00:00:00 2001 From: Alex Norman Date: Sat, 23 Mar 2019 13:30:41 -0700 Subject: [PATCH] reverse the issues, gives errors first clippy gives a list of warnings and then errors, which makes sense when you're building in a terminal, but inside vim/syntastic, it puts the errors at the bottom of the list --- syntax_checkers/rust/clippy.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax_checkers/rust/clippy.vim b/syntax_checkers/rust/clippy.vim index bb7cf99..984b289 100644 --- a/syntax_checkers/rust/clippy.vim +++ b/syntax_checkers/rust/clippy.vim @@ -52,7 +52,7 @@ function! SyntaxCheckers_rust_clippy_GetLocList() dict let issues = filter(loclist, '!empty(v:val["text"])') - return issues + return reverse(issues) endfunction