Skip to content

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jul 14, 2018

This can be used by IPython's completion for example.

Is the selection sane?
Could there be more?
AFAICS only functions are supported/used there.

This can be used for introspection, and especially completion.
"""
if self._api_names is None:
api_info = self._obj.request('nvim_get_api_info')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a shared metadata object as nvim.metadata though it is a bit tricky to access it as _obj could be either a Nvim or a Remote. Guess you could do something like nvim = _obj._session if isinstance(obj,Remote) else _obj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants