Merge pull request #336 from ninjawithaneedle/master

Highlighting should not filter linter messages without column info
This commit is contained in:
w0rp 2017-02-13 11:02:51 +00:00 committed by GitHub
commit f9815fcdef
1 changed files with 2 additions and 1 deletions

View File

@ -63,8 +63,9 @@ function! ale#highlight#SetHighlights(buffer, loclist) abort
" we next open it.
"
" We'll filter the loclist down to items we can set now.
let temp_loclist = deepcopy(a:loclist)
let s:buffer_highlights[a:buffer] = filter(
\ a:loclist,
\ temp_loclist,
\ 'v:val.bufnr == a:buffer && v:val.col > 0'
\)