Closed blueyed closed 4 years ago
For reference: initially done in 408025b6, refactored in https://github.com/neovim/pynvim/commit/6310063#diff-b891d59af469be1dc12f5f57b03a2581L166, but should be set via get_client_info` (https://github.com/blueyed/python-client/blob/4949d43cd45da16c184a15b3f14ebb1f097e8e94/pynvim/util.py#L39).
I guess that self.name = name
is needed in _load
. Or (seems more likely) _on_error_event
should get the client name a different way, instead of expecting that attribute on the host object.
I've just seen this:
python-pynvim 0.4.0-1
Code: https://github.com/neovim/python-client/blob/4949d43cd45da16c184a15b3f14ebb1f097e8e94/pynvim/plugin/host.py#L56-L61