#653 Collect items for quickfix from all buffers, and de-duplicate them. Set filename items in quickfix and loclist.

This commit is contained in:
w0rp
2017-08-19 14:28:51 +01:00
parent 9c6e25d8d8
commit 5c839c4825
7 changed files with 180 additions and 42 deletions

View File

@@ -30,6 +30,16 @@ function! ale#util#LocItemCompare(left, right) abort
return 1
endif
if a:left.bufnr == -1
if a:left.filename < a:right.filename
return -1
endif
if a:left.filename > a:right.filename
return 1
endif
endif
if a:left.lnum < a:right.lnum
return -1
endif