diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-04 15:52:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-04 15:52:56 +0200 |
| commit | 96be8a2c4d63faadb97c346abb336511a60ac89a (patch) | |
| tree | 71167260e69f87566391af2b1a8924987e6fe1d7 /test/functional/fixtures | |
| parent | 2860453c4f9ad6abd7a967f9278401ae84a927e2 (diff) | |
| parent | 2141dc22625f73f3ce73460e581934b94f141cf9 (diff) | |
| download | rneovim-96be8a2c4d63faadb97c346abb336511a60ac89a.tar.gz rneovim-96be8a2c4d63faadb97c346abb336511a60ac89a.tar.bz2 rneovim-96be8a2c4d63faadb97c346abb336511a60ac89a.zip | |
Merge #10161 from equalsraf/tb-clipboard-reload
Support "reload" of providers
Diffstat (limited to 'test/functional/fixtures')
| -rw-r--r-- | test/functional/fixtures/autoload/provider/clipboard.vim | 3 | ||||
| -rw-r--r-- | test/functional/fixtures/autoload/provider/python.vim | 6 | ||||
| -rw-r--r-- | test/functional/fixtures/autoload/provider/ruby.vim | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/test/functional/fixtures/autoload/provider/clipboard.vim b/test/functional/fixtures/autoload/provider/clipboard.vim index 6d777255c8..41e486b745 100644 --- a/test/functional/fixtures/autoload/provider/clipboard.vim +++ b/test/functional/fixtures/autoload/provider/clipboard.vim @@ -1,3 +1,5 @@ +let g:loaded_clipboard_provider = 2 + let g:test_clip = { '+': [''], '*': [''], } let s:methods = {} @@ -35,7 +37,6 @@ function! s:methods.set(lines, regtype, reg) let g:test_clip[a:reg] = [a:lines, a:regtype] endfunction - function! provider#clipboard#Call(method, args) return call(s:methods[a:method],a:args,s:methods) endfunction diff --git a/test/functional/fixtures/autoload/provider/python.vim b/test/functional/fixtures/autoload/provider/python.vim new file mode 100644 index 0000000000..d68360ac30 --- /dev/null +++ b/test/functional/fixtures/autoload/provider/python.vim @@ -0,0 +1,6 @@ +" Dummy test provider, missing this required variable: +" let g:loaded_brokenenabled_provider = 0 + +function! provider#python#Call(method, args) + return 42 +endfunction diff --git a/test/functional/fixtures/autoload/provider/ruby.vim b/test/functional/fixtures/autoload/provider/ruby.vim new file mode 100644 index 0000000000..35becc27ff --- /dev/null +++ b/test/functional/fixtures/autoload/provider/ruby.vim @@ -0,0 +1,2 @@ +" A dummy test provider +let g:loaded_ruby_provider = 2 |