File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 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.
111111## Formatting
112112
113113Format your code with various Haskell code formatters.
114+ The default Haskell code formatter is ` ormolu ` , and the Haskell formatter can be configured via the ` formattingProvider ` option.
114115
115116| Formatter | Provided by |
116117| --------------- | ---------------------------- |
@@ -119,12 +120,17 @@ Format your code with various Haskell code formatters.
119120| Ormolu | ` hls-ormolu-plugin ` |
120121| Stylish Haskell | ` hls-stylish-haskell-plugin ` |
121122
123+ ---
124+
122125Format 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.
123129
124130| Formatter | Provided by |
125131| -----------------| ------------------------------|
126132| cabal-fmt | ` hls-cabal-fmt-plugin ` |
127-
133+ | cabal-gild | ` hls-cabal-gild-plugin ` |
128134
129135## Document symbols
130136
You can’t perform that action at this time.
0 commit comments