So, here's the very beginnings of LSP support in neovim.
It can currently, start a server, say that it has opened the file and request references from the server. It loads the references using
Here's my vision (or at least a rough draft of it). It's too late for me right now to clean more of it up and I'm too excited not to finally at least put something as a WIP PR :)
Feedback welcome and appreciated.
Should be something along the lines of
as well as a lua function that has the same signature.
I imagine optional callbacks essentially allowing an even more extensive API, one that doesn't require Neovim explicit knowledge. So, to embed neovim in another editor, you could try and do lots of the information transfer with LSP callbacks.
Creating default callbacks