File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ instance Default Config where
200
200
-- , formattingProvider = "floskell"
201
201
-- , formattingProvider = "stylish-haskell"
202
202
, cabalFormattingProvider = " cabal-fmt"
203
+ -- this string value needs to kept in sync with the value provided in HlsPlugins
203
204
, maxCompletions = 40
204
205
, plugins = mempty
205
206
}
Original file line number Diff line number Diff line change @@ -161,7 +161,9 @@ idePlugins recorder = pluginDescToIdePlugins allPlugins
161
161
let pId = " fourmolu" in Fourmolu. descriptor (pluginRecorder pId) pId:
162
162
#endif
163
163
#if hls_cabalfmt
164
- let pId = " cabalfmt" in CabalFmt. descriptor (pluginRecorder pId) pId:
164
+ -- this pId needs to be kept in sync with the hardcoded
165
+ -- cabalFormattingProvider in the Default Config
166
+ let pId = " cabal-fmt" in CabalFmt. descriptor (pluginRecorder pId) pId:
165
167
#endif
166
168
#if hls_tactic
167
169
let pId = " tactics" in Tactic. descriptor (pluginRecorder pId) pId:
You can’t perform that action at this time.
0 commit comments