diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-10-13 15:09:16 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-10-13 15:17:24 +0200 |
commit | 294c0ba0149950696aec1da6f0af549a0662fd08 (patch) | |
tree | 1b44c5a54df5e815ae18d29bc52297da97587d9a | |
parent | 5060ebc5d0dc84f0242e2cb4983ca3e8307c3173 (diff) | |
download | rneovim-294c0ba0149950696aec1da6f0af549a0662fd08.tar.gz rneovim-294c0ba0149950696aec1da6f0af549a0662fd08.tar.bz2 rneovim-294c0ba0149950696aec1da6f0af549a0662fd08.zip |
health/provider.vim: Fix system([]) invocations.
Closes #5435
-rw-r--r-- | runtime/autoload/health/provider.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index b1cfa8bf2b..c9e78639f2 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -34,7 +34,7 @@ endfunction function! s:download(url) abort let content = '' if executable('curl') - let content = system(['curl', '-sL', "'", a:url, "'"]) + let content = system(['curl', '-sL', a:url]) endif if empty(content) && executable('python') @@ -50,7 +50,7 @@ function! s:download(url) abort \except Exception:\n \ pass\n \" - let content = system(['python', '-c', "'", script, "'", '2>/dev/null']) + let content = system(['python', '-c', script, '2>/dev/null']) endif return content |