diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-28 12:59:22 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-01-28 23:56:06 +0100 |
commit | e39b6d0c52410b59ad75312659ab278da42e42c6 (patch) | |
tree | 8bca0709d9cbe89a2a4ea3c10bc6d37011f4ebbb /test/functional/lua/commands_spec.lua | |
parent | 50cd5ed360ee76352bdfe1a49fa5746731c0ee16 (diff) | |
download | rneovim-e39b6d0c52410b59ad75312659ab278da42e42c6.tar.gz rneovim-e39b6d0c52410b59ad75312659ab278da42e42c6.tar.bz2 rneovim-e39b6d0c52410b59ad75312659ab278da42e42c6.zip |
fix(health): "attempt to concatenate nil"
Problem:
If `neovim` module is not installed, python and ruby healthchecks fail:
- ERROR Failed to run healthcheck for "provider.python" plugin. Exception:
.../runtime/lua/provider/python/health.lua:348: attempt to concatenate local 'pyname' (a nil value)
- ERROR Failed to run healthcheck for "provider.ruby" plugin. Exception:
.../runtime/lua/provider/ruby/health.lua:25: attempt to index local 'host' (a nil value)
Solution:
Check for non-nil.
Diffstat (limited to 'test/functional/lua/commands_spec.lua')
0 files changed, 0 insertions, 0 deletions