summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-13 12:52:44 +0000
committerw0rp <devw0rp@gmail.com>2017-02-13 12:52:44 +0000
commitf6bc73b749f28b31500716710429738afa9d6bc9 (patch)
treeb7fb401b35311aeca2287f76469a280d7bbef9d0
parenta5ec5366c402d1070027559289c8915601e9d2ec (diff)
downloadale-f6bc73b749f28b31500716710429738afa9d6bc9.zip
Fix a style issue
-rw-r--r--autoload/ale/highlight.vim3
1 files changed, 1 insertions, 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'
\)