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().
This commit is contained in:
Justin M. Keyes
2019-08-04 12:20:30 +02:00
parent 241956720d
commit 5e6a08f2e6
5 changed files with 25 additions and 12 deletions

View File

@@ -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