chipsenkbeil / distant.nvim

🚧 (Alpha stage software) Edit files, run programs, and work with LSP on a remote machine from the comfort of your local environment 🚧
https://distant.dev
Apache License 2.0
1.23k stars 12 forks source link

[BUG] Lsp server terminated immediately after launch #145

Open hek14 opened 1 month ago

hek14 commented 1 month ago

I am tyring to use distant.nvim for remote work. It is a really nice plugin. But there is an issue in my setup: after I DistantOpen /path/to/server/file.py, I can see some diagnostic show up but the server is terminated quickly, I check the distant.log, which says that ".../nvim-data/lazy/distant.nvim/lua/distant-core/client.lua:195: Client terminated: "INVALID_SERVER_JSON"".

commands that I use:

Related:

GeordyJ commented 1 month ago

I also have the same issue for python as well, I also tried the "fix/AddCheckForFailingToStartLspClient" which results in no LSP client being attached.