diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-11-25 10:37:41 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-12-23 14:32:25 +0100 |
commit | 61ba3c5e31bf5bf491046098e4d9922dd6c3c082 (patch) | |
tree | 8d48449b2a55b5c1d3c8d80daea30018aa005d6e /runtime/autoload/provider.vim | |
parent | 308dd53783314103710a37c9809eddb78279eab4 (diff) | |
download | rneovim-61ba3c5e31bf5bf491046098e4d9922dd6c3c082.tar.gz rneovim-61ba3c5e31bf5bf491046098e4d9922dd6c3c082.tar.bz2 rneovim-61ba3c5e31bf5bf491046098e4d9922dd6c3c082.zip |
provider: delete vimL stderr collector, now that it exists builtin
Diffstat (limited to 'runtime/autoload/provider.vim')
-rw-r--r-- | runtime/autoload/provider.vim | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/runtime/autoload/provider.vim b/runtime/autoload/provider.vim deleted file mode 100644 index e6514f5ba8..0000000000 --- a/runtime/autoload/provider.vim +++ /dev/null @@ -1,20 +0,0 @@ -" Common functionality for providers - -let s:stderr = {} - -function! provider#stderr_collector(chan_id, data, event) - let stderr = get(s:stderr, a:chan_id, ['']) - let stderr[-1] .= a:data[0] - call extend(stderr, a:data[1:]) - let s:stderr[a:chan_id] = stderr -endfunction - -function! provider#clear_stderr(chan_id) - if has_key(s:stderr, a:chan_id) - call remove(s:stderr, a:chan_id) - endif -endfunction - -function! provider#get_stderr(chan_id) - return get(s:stderr, a:chan_id, []) -endfunction |