Connecting to an LSP server via an SSH tunnel #1463
Closed
duncan-bayne
started this conversation in
General
Replies: 3 comments
-
It should be possible, see the manual and soon you'll find hte "host/port" section. But it's rarely tested. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @joaotavora! I did look at the docs but must have missed that. I'll give it a whirl and report back here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yup, that worked a treat 😁
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi :)
First up, thanks for eglot ❤️
I'm using Emacs to edit files "locally", that are in fact on an NFS share on a VM, mounted into my local filesystem.
To support this I'd like to connect eglot to an LSP server (Solargraph, in this case) running on the same VM. It's easy enough to start it on the VM, then create an SSH tunnel on port 7658.
But I can't seem to find any way of having eglot not start a new server, but just connect to an existing one via the tunnel.
Am I missing some documentation somewhere, or is this not currently possible?
Yours,
Duncan
Beta Was this translation helpful? Give feedback.
All reactions