aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-08-18 12:31:43 -0400
committerJames McCoy <jamessan@jamessan.com>2017-08-18 12:32:49 -0400
commit3acbb490de187117d1bf69531bc3fcf2155583cd (patch)
tree3c34fa85b6ae7ca581db53c7301c93070b3126a9
parent5b32bce73c93a64970afe0e92e0a8ba2fed88619 (diff)
downloadrneovim-3acbb490de187117d1bf69531bc3fcf2155583cd.tar.gz
rneovim-3acbb490de187117d1bf69531bc3fcf2155583cd.tar.bz2
rneovim-3acbb490de187117d1bf69531bc3fcf2155583cd.zip
provider#clear_stderr: Use remove() not delete() to update s:stderr
Ref #7184
-rw-r--r--runtime/autoload/provider.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/provider.vim b/runtime/autoload/provider.vim
index a4d5241b57..b46ae12b3c 100644
--- a/runtime/autoload/provider.vim
+++ b/runtime/autoload/provider.vim
@@ -10,7 +10,7 @@ function! provider#stderr_collector(chan_id, data, event) dict
endfunction
function! provider#clear_stderr(chan_id)
- silent! call delete(s:stderr, a:chan_id)
+ silent! call remove(s:stderr, a:chan_id)
endfunction
function! provider#get_stderr(chan_id)