You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain
Bug description
lsp-mode.el uses shell-file-name to launch the language server (clangd, in my case) even when connected to a remote host via TRAMP. I use fish on my local host, but it is not installed on a remote machine I use for development; this prevents me from using lsp-mode unless I first customize shell-file-name.
Surely the TRAMP remote-shell property would be a more appropriate choice?
Use the tramp-remote-shell property on the current tramp connection
instead of assuming that it's the same as the shell on the local
machine.
Resolvesemacs-lsp#4371
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
lsp-mode.el uses
shell-file-name
to launch the language server (clangd, in my case) even when connected to a remote host via TRAMP. I use fish on my local host, but it is not installed on a remote machine I use for development; this prevents me from using lsp-mode unless I first customizeshell-file-name
.Surely the TRAMP
remote-shell
property would be a more appropriate choice?https://www.gnu.org/software/tramp/#Predefined-connection-information
Steps to reproduce
/usr/bin/fish
was not found.Expected behavior
The shell specified by the TRAMP
remote-shell
property for this host is used in place of fishWhich Language Server did you use?
lsp-clangd
OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: