Skip to content

Commit d748b06

Browse files
author
Gihyeon Sung
committed
Revise README.md
- Update permanently redirected links to ghcide - Fix not maintained table of contents - Fix invalid and misindented JSONs
1 parent bf5795b commit d748b06

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[badge-circleci]: https://img.shields.io/circleci/project/github/haskell/haskell-language-server/master.svg
99
[circleci]: https://circleci.com/gh/haskell/haskell-language-server/
1010

11-
Integration point for [ghcide](https://github.com/digital-asset/ghcide) and [haskell-ide-engine](https://github.com/haskell/haskell-ide-engine). One IDE to rule
11+
Integration point for [ghcide](https://github.com/haskell/ghcide) and [haskell-ide-engine](https://github.com/haskell/haskell-ide-engine). One IDE to rule
1212
them all. Read the [project's
1313
background](https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-them-all.html).
1414

@@ -45,9 +45,11 @@ This is *very* early stage software.
4545
- [Known limitations](#known-limitations)
4646
- [Preprocessor](#preprocessor)
4747
- [Contributing](#contributing)
48-
- [It's time to join the project!](#its-time-to-join-the-project)
4948
- [Building haskell-language-server](#building-haskell-language-server)
50-
- [Hacking on haskell-language-server](#hacking-on-haskell-language-server)
49+
- [Using Cabal](#using-cabal)
50+
- [Using Stack](#using-stack)
51+
- [Introduction tutorial](#instructions-tutorial)
52+
- [Test your hacked HLS in your editor](#test-your-hacked-hls-in-your-editor)
5153

5254
## Features
5355

@@ -363,9 +365,9 @@ The `haskell-language-server` and `haskell-language-server-wrapper` binaries wil
363365
"command": ["haskell-language-server-wrapper", "--lsp"],
364366
"scopes": ["source.haskell"],
365367
"syntaxes": ["Packages/Haskell/Haskell.sublime-syntax"],
366-
"languageId": "haskell",
367-
},
368-
},
368+
"languageId": "haskell"
369+
}
370+
}
369371
}
370372
```
371373

@@ -389,15 +391,15 @@ Then issue `:CocConfig` and add the following to your Coc config file.
389391

390392
```json
391393
{
392-
"languageserver": {
393-
"haskell": {
394-
"command": "haskell-language-server-wrapper",
395-
"args": ["--lsp"],
396-
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
397-
"filetypes": ["haskell", "lhaskell"]
394+
"languageserver": {
395+
"haskell": {
396+
"command": "haskell-language-server-wrapper",
397+
"args": ["--lsp"],
398+
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
399+
"filetypes": ["haskell", "lhaskell"]
400+
}
398401
}
399402
}
400-
}
401403
```
402404

403405
#### LanguageClient-neovim
@@ -543,13 +545,12 @@ Example with `tasty-discover`:
543545
```
544546
This returns an error in HLS if 'tasty-discover' is not in the path: `could not execute: tasty-discover`.
545547

546-
547548
## Contributing
548549

549550
:heart: The Haskell tooling dream is near, we need your help! :heart:
550551

551552
- Join [our IRC channel](https://webchat.freenode.net/?channels=haskell-ide-engine) at `#haskell-ide-engine` on `freenode`.
552-
- Fork this repo and [ghcide](https://github.com/digital-asset/ghcide) and hack as much as you can.
553+
- Fork this repo and [ghcide](https://github.com/haskell/ghcide) and hack as much as you can.
553554

554555
### Building haskell-language-server
555556

0 commit comments

Comments
 (0)