Update haskell extension docs (#28603)
In https://github.com/zed-extensions/haskell/pull/2 the HLS settings were updated to respect binary path/argument overrides. This PR just updates the docs to demonstrate this. Release Notes: - N/A --------- Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
parent
932a7c6440
commit
5734ffbb18
1 changed files with 16 additions and 1 deletions
|
@ -33,4 +33,19 @@ If you need to configure haskell-language-server (hls) you can add configuration
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
See: official [configuring haskell-language-server](https://haskell-language-server.readthedocs.io/en/latest/configuration.html) docs for more.
|
See the official [configuring haskell-language-server](https://haskell-language-server.readthedocs.io/en/latest/configuration.html) docs for more options.
|
||||||
|
|
||||||
|
If you would like to use a specific hls binary, or perhaps use [static-ls](https://github.com/josephsumabat/static-ls) as a drop-in replacement instead, you can specify the binary path and arguments:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"lsp": {
|
||||||
|
"hls": {
|
||||||
|
"binary": {
|
||||||
|
"path": "static-ls",
|
||||||
|
"arguments": ["--experimentalFeatures"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue