Open
Description
Thank you for the bug report
- I am using the latest version of
lsp-mode
related packages. - I checked FAQ and Troubleshooting sections
- You may also try reproduce the issue using clean environment using the following command:
M-x lsp-start-plain
Bug description
When using clojure-lsp
in a Tramp remote buffer, I'm observing the following behavior:
- The LSP server successfully starts and connects on the remote host
- Project diagnostics are correctly displayed in the modeline
- Code actions like "Move to let" work as expected
- Navigation functions like
lsp-find-definition
andlsp-describe-thing-at-point
all fail to work, reporting that the symbol cannot be found, or displaying an empty help buffer
I've tested this on the sshx
tramp method, and a custom wsl
method.
Steps to reproduce
- Navigate to a remote Clojure file using Tramp, e.g. with the Tramp path
/sshx:localhost:proj/foo.clj
M-x lsp
- Once the server has started, observe that
lsp-find-references
and other functions don't work
Expected behavior
The LSP client should work seamlessly over Tramp.
Which Language Server did you use?
clojure-lsp
OS
Windows
Error callstack
Anything else?
It's worth noting that clojure-lsp
works well with Eglot over Tramp.