aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures/autoload/provider/python.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-04 12:20:30 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-04 13:23:46 +0200
commit5e6a08f2e6b21e83c9fb381042f0aed89de4598d (patch)
treef219b253e9543c31e4792394a110c089db766895 /test/functional/fixtures/autoload/provider/python.vim
parent241956720d02d933b0b27097a3b0a1966f138d0b (diff)
downloadrneovim-5e6a08f2e6b21e83c9fb381042f0aed89de4598d.tar.gz
rneovim-5e6a08f2e6b21e83c9fb381042f0aed89de4598d.tar.bz2
rneovim-5e6a08f2e6b21e83c9fb381042f0aed89de4598d.zip
provider: skip non-provider has() feature-names
We don't want to retry autoload sourcing (slow) for every random has() query that finds it way to eval_call_provider().
Diffstat (limited to 'test/functional/fixtures/autoload/provider/python.vim')
-rw-r--r--test/functional/fixtures/autoload/provider/python.vim6
1 files changed, 6 insertions, 0 deletions
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