From 15cdc978d8546ffe99ef8bcbda72a3ada11e9dc5 Mon Sep 17 00:00:00 2001 From: Javier Neira Date: Thu, 17 Jun 2021 08:44:03 +0200 Subject: [PATCH 1/2] Include chocolatey hls package --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e10c40d74b..dfd4b5b43a 100644 --- a/README.md +++ b/README.md @@ -124,17 +124,24 @@ background](https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-th ### Prerequisites -- For standalone `.hs`/`.lhs` files, [ghc](https://www.haskell.org/ghc/) must be installed and on the PATH. The easiest way to install it is with [ghcup](https://www.haskell.org/ghcup/) or [Chocolatey](https://www.haskell.org/platform/windows.html) on Windows. -- For Cabal based projects, both ghc and [cabal-install](https://www.haskell.org/cabal/) must be installed and on the PATH. It can also be installed with [ghcup](https://www.haskell.org/ghcup/) or [Chocolatey](https://www.haskell.org/platform/windows.html) on Windows. +- For standalone `.hs`/`.lhs` files, [ghc](https://www.haskell.org/ghc/) must be installed and on the PATH. The easiest way to install it is with [ghcup](https://www.haskell.org/ghcup/) or [Chocolatey](https://community.chocolatey.org/packages/ghc) on Windows. +- For Cabal based projects, both ghc and [cabal-install](https://www.haskell.org/cabal/) must be installed and on the PATH. It can also be installed with [ghcup](https://www.haskell.org/ghcup/) or [Chocolatey](https://community.chocolatey.org/packages/cabal) on Windows. - For Stack based projects, [stack](http://haskellstack.org) must be installed and on the PATH. ### ghcup -If you are using [`ghcup`](https://www.haskell.org/ghcup/) to manage your installations, you can install the latest version of `haskell-language-server` with +If you are using [`ghcup`](https://www.haskell.org/ghcup/) to manage your installations, you can install `haskell-language-server` with ``` ghcup install hls ``` +### chocolatey + +If you are using [`chocolatey`](https://chocolatey.org/) to manage your installations in windows, [you can install `haskell-language-server`](https://community.chocolatey.org/packages/haskell-language-server) with +``` +choco install haskell-language-server +```` + ### Visual Studio Code If you are using Visual Studio Code, the [Haskell extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell) will automatically download and install `haskell-language-server` for you. From 64bd53c1a3fb4ccf6b538c7802e34c4d1c32088e Mon Sep 17 00:00:00 2001 From: Javier Neira Date: Thu, 17 Jun 2021 14:35:47 +0200 Subject: [PATCH 2/2] consistency in casing --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dfd4b5b43a..c5f552fbec 100644 --- a/README.md +++ b/README.md @@ -124,8 +124,8 @@ background](https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-th ### Prerequisites -- For standalone `.hs`/`.lhs` files, [ghc](https://www.haskell.org/ghc/) must be installed and on the PATH. The easiest way to install it is with [ghcup](https://www.haskell.org/ghcup/) or [Chocolatey](https://community.chocolatey.org/packages/ghc) on Windows. -- For Cabal based projects, both ghc and [cabal-install](https://www.haskell.org/cabal/) must be installed and on the PATH. It can also be installed with [ghcup](https://www.haskell.org/ghcup/) or [Chocolatey](https://community.chocolatey.org/packages/cabal) on Windows. +- For standalone `.hs`/`.lhs` files, [ghc](https://www.haskell.org/ghc/) must be installed and on the PATH. The easiest way to install it is with [ghcup](https://www.haskell.org/ghcup/) or [chocolatey](https://community.chocolatey.org/packages/ghc) on Windows. +- For Cabal based projects, both ghc and [cabal-install](https://www.haskell.org/cabal/) must be installed and on the PATH. It can also be installed with [ghcup](https://www.haskell.org/ghcup/) or [chocolatey](https://community.chocolatey.org/packages/cabal) on Windows. - For Stack based projects, [stack](http://haskellstack.org) must be installed and on the PATH. ### ghcup