Skip to content

Commit 9a6825d

Browse files
committed
fix: link rtd
1 parent 545636a commit 9a6825d

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

ghcide/README.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,4 @@
77
[`haskell-language-server`](http://github.com/haskell/haskell-language-server) is an LSP server built on top of `ghcide` with additional features and a user friendly deployment model. To get it, simply install the [Haskell extension](https://marketplace.visualstudio.com/items?itemName=haskell.haskell) in VS Code, or download prebuilt binaries from the [haskell-language-server](https://github.com/haskell/haskell-language-server) project page.
88

99

10-
The instructions below are meant for developers interested in setting up ghcide as an LSP server for testing purposes.
11-
12-
### Install `ghcide`
13-
14-
#### With Nix
15-
16-
Note that you need to compile `ghcide` with the same `ghc` as the project you are working on.
17-
18-
1. If the `ghc` you are using matches the version (or better is) from `nixpkgs` it‘s easiest to use the `ghcide` from `nixpkgs`. You can do so via
19-
```
20-
nix-env -iA haskellPackages.ghcide
21-
```
22-
or e.g. including `pkgs.haskellPackages.ghcide` in your projects `shell.nix`.
23-
Depending on your `nixpkgs` channel that might not be the newest `ghcide`, though.
24-
25-
2. If your `ghc` does not match nixpkgs you should try the [ghcide-nix repository](https://github.com/cachix/ghcide-nix)
26-
which provides a `ghcide` via the `haskell.nix` infrastructure.
27-
28-
#### With Cabal or Stack
29-
30-
First install the `ghcide` binary using `stack` or `cabal`, e.g.
31-
32-
1. `git clone https://github.com/haskell/ghcide.git`
33-
2. `cd ghcide`
34-
3. `cabal install` or `stack install` (and make sure `~/.local/bin` is on your `$PATH`)
35-
36-
It's important that `ghcide` is compiled with the same compiler you use to build your projects.
10+
Set-up and usage instructions can be found on [haskell-language-server documentation](https://haskell-language-server.readthedocs.io/en/stable/components/ghcide.html)

0 commit comments

Comments
 (0)