From f6bc73b749f28b31500716710429738afa9d6bc9 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 13 Feb 2017 12:52:44 +0000 Subject: [PATCH] Fix a style issue --- autoload/ale/highlight.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/ale/highlight.vim b/autoload/ale/highlight.vim index b57931f6..1669ebd2 100644 --- a/autoload/ale/highlight.vim +++ b/autoload/ale/highlight.vim @@ -63,9 +63,8 @@ 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( - \ temp_loclist, + \ deepcopy(a:loclist), \ 'v:val.bufnr == a:buffer && v:val.col > 0' \)