diff options
author | Marco Hinz <mh.codebro+github@gmail.com> | 2019-01-12 00:52:12 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-01-13 01:49:07 +0100 |
commit | 8a7b6200fbaaafa13c1425faacecbd779d05d729 (patch) | |
tree | ff118183fe75981455255e30e672779f83acea8a /test/functional/lua/utility_functions_spec.lua | |
parent | 44ea903ca51a387bfcd858221b1748f79d7dbf54 (diff) | |
download | rneovim-8a7b6200fbaaafa13c1425faacecbd779d05d729.tar.gz rneovim-8a7b6200fbaaafa13c1425faacecbd779d05d729.tar.bz2 rneovim-8a7b6200fbaaafa13c1425faacecbd779d05d729.zip |
provider: improve error message if provider is missing (#9487)
Move `has_eval_provider()` check to `eval_call_provider()` to make sure that
every code path calls it first.
Previously we would, when pynvim was missing, get a nice error message for
`:python3 1`, but not for `:py3file blah`.
Fixes https://github.com/neovim/neovim/issues/9485
Diffstat (limited to 'test/functional/lua/utility_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions