Skip to content

Commit 9c418cc

Browse files
committed
Preparing for 0.0.22, liquid haskell enable
1 parent 7ebb947 commit 9c418cc

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 0.0.22
2+
3+
* Add configuration option to enable liquid haskell processing. This
4+
is a preview feature of hie from
5+
ca2d3eaa19da8ec9d55521b461d8e2e8cffee697 on 2019-09-05.
6+
17
### 0.0.21
28

39
* Remove languageServerHaskell.useHieWrapper, We now use hie-wrapper

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,19 @@ You can disable HLint and also control the maximum number of reported problems,
4444
"languageServerHaskell.maxNumberOfProblems": 100,
4545
```
4646

47+
If the liquid haskell executable is installed, enable using it to
48+
process haskell files on save.
49+
50+
```
51+
"languageServerHaskell.hlintOn": true,
52+
```
53+
4754
#### HIE Wrapper
4855

49-
Furthermore, the extension supports multiple ways of initializing hie, depending on your needs. The first one is to use the hie-wrapper that follows this extension, and tries to pick the right hie for your GHC version. The following,
56+
Furthermore, the extension supports multiple ways of initializing hie,
57+
depending on your needs. The first one is to use the hie-wrapper that
58+
follows this extension, and tries to pick the right hie for your GHC
59+
version. The following,
5060

5161
```json
5262
"languageServerHaskell.useHieWrapper": true,

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-hie-server",
33
"displayName": "Haskell Language Server",
44
"description": "Language Server Protocol for Haskell via HIE",
5-
"version": "0.0.21",
5+
"version": "0.0.22",
66
"license": "MIT",
77
"publisher": "alanz",
88
"engines": {
@@ -75,6 +75,12 @@
7575
"default": true,
7676
"description": "Get suggestions from hlint"
7777
},
78+
"languageServerHaskell.liquidOn": {
79+
"scope": "resource",
80+
"type": "boolean",
81+
"default": false,
82+
"description": "Get diagnostics from liquid haskell"
83+
},
7884
"languageServerHaskell.showTypeForSelection.onHover": {
7985
"scope": "resource",
8086
"type": "boolean",

0 commit comments

Comments
 (0)