pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: https://zed.dev/docs/reference/../migrate/../languages/../development/.././languages/haskell.html

Download

Haskell

Haskell support is available through the Haskell extension.

Installing HLS

Recommended method to install haskell-language-server (HLS) is via ghcup (curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh ):

ghcup install hls
which haskell-language-server-wrapper

Configuring HLS

If you need to configure haskell-language-server (hls) you can add configuration options to your Zed settings.json:

{
  "lsp": {
    "hls": {
      "initialization_options": {
        "haskell": {
          "formattingProvider": "fourmolu"
        }
      }
    }
  }
}

See the official configuring haskell-language-server docs for more options.

If you would like to use a specific hls binary, or perhaps use static-ls as a drop-in replacement instead, you can specify the binary path and arguments:

{
  "lsp": {
    "hls": {
      "binary": {
        "path": "static-ls",
        "arguments": ["--experimentalFeatures"]
      }
    }
  }
}
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy