Open Robzz opened 2 weeks ago
I added an lspconfig based example using my fork (happy to send the PR their way once we're happy with it).
Just added a comment in this thread: https://github.com/SilasMarvin/lsp-ai/issues/2#issuecomment-2158816103
Excited to get this into nvim-lspconfig!
PR opened yesterday, took a bit longer than I would have liked but time is what it is. Waiting on me writing a bit of docs.
PR opened yesterday, took a bit longer than I would have liked but time is what it is. Waiting on me writing a bit of docs.
This looks awesome thank you! Let me know if I can assist at all
This PR adds an example configuration for neovim.
This to do before this is ready for merging:
nvim-lspconfig
repository. On top of providing a sane default config, this allows automated proper management of the language server lifecycle, because to be clear the provided sample code kinda smells: never detaches closed buffers, never shuts the LSP down, you get the idea, it's naive.nvim-cmp
side. Support for multiline ghost-text was literally merged 2 days ago, and there are additional PRs addressing limitations that are actively being worked on, such as the suggestions window currently being drawn on top of the ghost text (PR 1955). In its current state, it's a bit rough around the edges, but it should be good enough to play with for the curious.textDocument/generation
function. I still need to look into how that works, but thenvim-lspconfig
docs point towards setting up anLspAttach
autofunction handler withvim.api.nvim_create_user_command()
Closes #2