Skip to content

Commit 8fd38e9

Browse files
authored
Merge pull request #1100 from fendor/enhance/cabal-formatters
Add cabalFormattingProvider to package.json
2 parents e481b6c + f3a398a commit 8fd38e9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@
8888
"default": "ormolu",
8989
"description": "The formatter to use when formatting a document or range. Ensure the plugin is enabled."
9090
},
91+
"haskell.cabalFormattingProvider": {
92+
"scope": "resource",
93+
"type": "string",
94+
"enum": [
95+
"cabal-gild",
96+
"cabal-fmt",
97+
"none"
98+
],
99+
"default": "cabal-gild",
100+
"description": "The formatter to use when formatting a document or range of a cabal formatter. Ensure the plugin is enabled."
101+
},
91102
"haskell.openDocumentationInHackage": {
92103
"scope": "resource",
93104
"type": "boolean",

0 commit comments

Comments
 (0)