-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
let remote hosts update their specs #6742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I wonder if there should be some versioning of the nvim |
More generally, some convention which identifies each channel (host, UI, or any other client) with at least a client name (like a user agent string) would be valuable. At least for error reporting, maybe also for UI configuration. |
Yes, something like nvim_get_api_info, but in reverse. |
The simplest thing might be to add a voluntary API function, e.g. We could also have a field in the |
That could work to implement this and be compatible with existing hosts. To still be able to get rid off "poll" #5856 and do it all async, we would need some kind of callback or autocommand, i e replace the poll command with
|
The feature also works for delayed loading plugins? |
You mean not load all plugins in the host at once? The PR doesn't do it, but it is forward compatible with either nvim or the host doing it later. |
Yes. |
updated on top of #6743 |
currently only already registered plugins
We can avoid that by simply requiring remote plugins to ship a |
Currently works only in the following scenario: when the user starts the host by calling some already registered plugin, or starts a not started plugin in a running host, the host is allowed to send back updated specs, for all or some subset of already registered plugins, which updates the registration file and takes effect in real time.
goals, not necessarily in this PR, but should be made possible to implement in a forward compatible fashion with out breaking compatibility either way:
There is probably some relevant discussion from 2015 to reread...
python-client branch