aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-10-07 01:39:11 +0200
committerDuncaen <mail@duncano.de>2016-10-07 01:39:21 +0200
commit735e32d8efafd6bc8c63f0fba7d2c81b353ffa01 (patch)
tree89b18636d46b593898d23f166ef6d1d34c20e6fa
parent9e31f6c5af39c3df67761d7b924743a5420752c3 (diff)
downloaddotfiles-735e32d8efafd6bc8c63f0fba7d2c81b353ffa01.tar.gz
vim: update plug.vim
-rw-r--r--vim/autoload/plug.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/plug.vim b/vim/autoload/plug.vim
index 1dee361..aee4722 100644
--- a/vim/autoload/plug.vim
+++ b/vim/autoload/plug.vim
@@ -1089,7 +1089,7 @@ function! s:job_handler(job_id, data, event) abort
if a:event == 'stdout'
let complete = empty(a:data[-1])
- let lines = map(filter(a:data, 'len(v:val) > 0'), 'split(v:val, "[\r\n]")[-1]')
+ let lines = map(filter(a:data, 'v:val =~ "[^\r\n]"'), 'split(v:val, "[\r\n]")[-1]')
call extend(self.lines, lines)
let self.result = join(self.lines, "\n")
if !complete