Fix a style issue
This commit is contained in:
parent
a5ec5366c4
commit
f6bc73b749
1 changed files with 1 additions and 2 deletions
|
@ -63,9 +63,8 @@ function! ale#highlight#SetHighlights(buffer, loclist) abort
|
||||||
" we next open it.
|
" we next open it.
|
||||||
"
|
"
|
||||||
" We'll filter the loclist down to items we can set now.
|
" 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(
|
let s:buffer_highlights[a:buffer] = filter(
|
||||||
\ temp_loclist,
|
\ deepcopy(a:loclist),
|
||||||
\ 'v:val.bufnr == a:buffer && v:val.col > 0'
|
\ 'v:val.bufnr == a:buffer && v:val.col > 0'
|
||||||
\)
|
\)
|
||||||
|
|
||||||
|
|
Reference in a new issue