From 5734ffbb1889dec918aff3193261fdd5a035b664 Mon Sep 17 00:00:00 2001 From: Sam Tay Date: Fri, 11 Apr 2025 16:37:58 -0400 Subject: [PATCH] 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 --- docs/src/languages/haskell.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/src/languages/haskell.md b/docs/src/languages/haskell.md index 8075ec2904922637769ac4a5f9255217ca9f5ab8..fec9142a5f8e8a4414452b4109ae22c003169646 100644 --- a/docs/src/languages/haskell.md +++ b/docs/src/languages/haskell.md @@ -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"] + } + } + } +} +```