-
-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose per-server wrapper functions for use with nix-shell and guix #1933
Comments
As a NixOS user, I agree with that 😄 |
Can this be generalized and handle #1889 as well? Or both will serve a different purpose and will run at different time(flow one when resolving server binary, and this one just before running the server). Also, we should think of generalizing lsp-register-client. What I wanted to implement in the past by converting lsp-register-client to macro but never had the time is:
|
When using
All of these sound useful. I had been intending to pursue option 1 for this issue. |
lsp-haskell
currently exposes adefcustom
,lsp-haskell-process-wrapper-function
, to enable a convenient means of specifying a project-specificghcide
executable (for example). This is useful in Haskell since in order to work in a particular project withghcide
, it must be compiled with the exact same version ofghc
as the one used to compile the project.It wouldn't surprise me if some other language server behaved in a similar way. For this reason, it might be nice to expose separate wrappers, defaulting to
#'identity
, for each language server and debug adapter.The text was updated successfully, but these errors were encountered: