Skip to content

Commit d65e7d4

Browse files
committed
Replace direct json with just a key name mention
1 parent 1b08736 commit d65e7d4

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ Some examples include:
265265
variable to the file in which you want to keep your LSP settings
266266

267267
### Formatting providers
268+
##### Raw LSP key name: `haskell.formattingProvider`
269+
268270
By default, haskell-language-server is compiled with support for several different formatters.
269271

270272
These include
@@ -274,20 +276,6 @@ These include
274276
* `stylish-haskell`
275277
* `brittany` (if compiled with AGPL)
276278

277-
To choose one of them, you need to include the name of the one you want to use
278-
as the value for the `formattingProvider` key in your LSP configuration like so:
279-
```json
280-
{
281-
...
282-
"haskell": {
283-
...
284-
"formattingProvider": "fourmolu"
285-
...
286-
}
287-
...
288-
}
289-
```
290-
291279
## Project Configuration
292280

293281
**For a full explanation of possible configurations, refer to [hie-bios/README](https://github.com/mpickering/hie-bios/blob/master/README.md).**

0 commit comments

Comments
 (0)