Skip to content

Commit 65e0132

Browse files
committed
Add badge to VS marketplace
1 parent 5178445 commit 65e0132

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Haskell for Visual Studio Code
22

3+
[![](https://vsmarketplacebadge.apphb.com/version/haskell.haskell.svg)](https://marketplace.visualstudio.com/items?itemName=haskell.haskell)
4+
35
This extension adds language support for [Haskell](https://haskell.org), powered by the [Haskell Language Server](https://github.com/haskell/haskell-language-server).
46

57
## Features
@@ -14,8 +16,7 @@ This extension adds language support for [Haskell](https://haskell.org), powered
1416
- [Multi-root workspace](https://code.visualstudio.com/docs/editor/multi-root-workspaces) support
1517
- Code evaluation (Haskell Language Server)
1618

17-
![Eval](https://i.imgur.com/bh992sT.gif)
18-
19+
![Eval](https://i.imgur.com/bh992sT.gif)
1920

2021
## Requirements
2122

@@ -63,19 +64,20 @@ There are a few placeholders which will be expanded:
6364
Haskell Language Server can display Haddock documentation on hover and completions if the project and
6465
its dependencies have been built with the `-haddock` GHC flag.
6566

66-
- For cabal:
67-
- Add to your global config file (e.g. `~/.cabal/config`):
68-
```
69-
program-default-options
70-
ghc-options: -haddock
71-
```
72-
- Or, for a single project, run `cabal configure --ghc-options=-haddock`
67+
- For cabal:
7368

74-
- For stack, add to global `$STACK_ROOT\config.yaml`, or project's `stack.yaml`:
69+
- Add to your global config file (e.g. `~/.cabal/config`):
7570
```
76-
ghc-options:
77-
"$everything": -haddock
71+
program-default-options
72+
ghc-options: -haddock
7873
```
74+
- Or, for a single project, run `cabal configure --ghc-options=-haddock`
75+
76+
- For stack, add to global `$STACK_ROOT\config.yaml`, or project's `stack.yaml`:
77+
```
78+
ghc-options:
79+
"$everything": -haddock
80+
```
7981
Note that this flag will cause compilation errors if a dependency contains invalid Haddock markup,
8082
until GHC 8.12 which [will report warnings](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2377)
8183
instead.

0 commit comments

Comments
 (0)