A PureScript extension for Zed.
You can specify arguments as well as environment variables to pass to the language server by configuring the lsp settings in your Zed settings. This can be helpful for Nix setups or other environments where you need to customize the PATH or other variables so that the language server can find the purescript binary to invoke for the LSP support.
Example configuration in your settings.json:
{
"lsp": {
"purescript-language-server": {
"binary": {
"env": {
"PATH": "/nix/store/gw58kr741a9ddmv3xn47llc7i07jbbvr-purescript-0.15.15/bin"
}
}
}
}
}To develop this extension, see the Developing Extensions section of the Zed docs.