File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ Completions for language pragmas.
111
111
## Formatting
112
112
113
113
Format your code with various Haskell code formatters.
114
+ The default Haskell code formatter is ` ormolu ` , and the Haskell formatter be configured via the ` formattingProvider ` option.
114
115
115
116
| Formatter | Provided by |
116
117
| --------------- | ---------------------------- |
@@ -119,12 +120,17 @@ Format your code with various Haskell code formatters.
119
120
| Ormolu | ` hls-ormolu-plugin ` |
120
121
| Stylish Haskell | ` hls-stylish-haskell-plugin ` |
121
122
123
+ ---
124
+
122
125
Format your cabal files with a cabal code formatter.
126
+ The default cabal code formatter is ` cabal-gild ` , which needs to be available on the ` $PATH ` ,
127
+ or the location needs to be explicitly provided.
128
+ To change the cabal formatter, edit the ` cabalFormattingProvider ` option.
123
129
124
130
| Formatter | Provided by |
125
131
| -----------------| ------------------------------|
126
132
| cabal-fmt | ` hls-cabal-fmt-plugin ` |
127
-
133
+ | cabal-gild | ` hls-cabal-gild-plugin ` |
128
134
129
135
## Document symbols
130
136
You can’t perform that action at this time.
0 commit comments