Join the Kedro community

Updated last month

Kedro-lsp functionality replacement for Neovim

I see that kedro-lsp is on PyPi, but I guess the repository was deleted on Github. Did anybody replace any of that functionality for Neovim?
https://pypi.org/project/kedro-lsp/

1
R
G
J
12 comments

Hi , I am not able to find any alternative as well. We do have a new LSP for VSCode here , if you are interested. But could you let us know what is your use case ? Thank you

Very similar use case as what vscode-kedro does, just different editor. I prefer Vi/Vim/Neovim. Thanks for taking a look around.

I get that the part of the VS Code extension that forms the LSP server lives at https://github.com/kedro-org/vscode-kedro/tree/b93c77c/bundled/tool wondering if it could become its own package ?

It’s possible, though I have very little experience with Vim/Neovim. Would want to give it a try?

I love this idea, but I cannot allocate time to work on it.

That's fine. For now vim based workflow isn't the top priority. If anyone is interested to take a stab, more than happy to give some guidance on how we could make it works. Once we find that it's working, I can work on making it a standalone package.

If someone gets it off the ground, ping me. Would love to use it, and it doesn't take long to attempt to install a plugin.

What guidance would you give? I can only give it a snails pace as I am more familiar with using plugins than writing them at this point.

But I may be able to squeeze a little bit of effort in over time.

The thing that I am not sure is how to attach the LSP to neovim, probably need to make sure those port/host configuration are correct somewhere.
https://neovim.io/doc/user/lsp.html

The current LSP is mainly https://github.com/kedro-org/vscode-kedro/blob/b93c77c0b2c589287a47077028f67e68b57edb9c/bundled/tool/lsp_server.py, which is an executable file, you may need to wrap it as a CLI as neovim seems to expect that.

I found a similar jedi-lsp (which support neovim) that using the same library that I am using: https://github.com/pappasam/jedi-language-server/blob/main/jedi_language_server/cli.py, so similar setup may work.

Good points.

I have not looked into it, but I also stumbled up this a few weeks ago: https://github.com/neovim/pynvim

Add a reply
Sign up and join the conversation on Slack