runtime/autoload/provider/python{,3}.vim: fix E168

Do not use `finish` inside of `provider#python{,3}#Call`, but `return`.
This commit is contained in:
Daniel Hahler
2015-11-03 16:52:26 +01:00
parent ea4b8f9c8f
commit dcc71094d1
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ function! provider#python#Call(method, args)
echohl WarningMsg
echomsg v:exception
echohl None
finish
return
endtry
endif
return call(s:rpcrequest, insert(insert(a:args, 'python_'.a:method), s:host))