I see that kedro-lsp is on PyPi, but I guess the r...
# questions
g
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
Hi @Galen Seilis, 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
g
@Ravi Kumar Pilla Very similar use case as what vscode-kedro does, just different editor. I prefer Vi/Vim/Neovim. Thanks for taking a look around.
πŸ‘ 1
j
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 @Nok Lam Chan @Jitendra Gundaniya?
πŸ‘πŸΌ 1
πŸ‘€ 1
n
It’s possible, though I have very little experience with Vim/Neovim. Would @Galen Seilis want to give it a try?
g
@Nok Lam Chan I love this idea, but I cannot allocate time to work on it.
πŸ‘πŸΌ 1
n
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.
πŸ‘ 1
g
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.
@Nok Lam Chan 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.
n
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.
g
@Nok Lam Chan Good points. I have not looked into it, but I also stumbled up this a few weeks ago: https://github.com/neovim/pynvim