File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 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
200200 -- , formattingProvider = "floskell"
201201 -- , formattingProvider = "stylish-haskell"
202202 , cabalFormattingProvider = " cabal-fmt"
203+ -- this string value needs to kept in sync with the value provided in HlsPlugins
203204 , maxCompletions = 40
204205 , plugins = mempty
205206 }
Original file line number Diff line number Diff line change @@ -161,7 +161,9 @@ idePlugins recorder = pluginDescToIdePlugins allPlugins
161161 let pId = " fourmolu" in Fourmolu. descriptor (pluginRecorder pId) pId:
162162#endif
163163#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:
165167#endif
166168#if hls_tactic
167169 let pId = " tactics" in Tactic. descriptor (pluginRecorder pId) pId:
You can’t perform that action at this time.
0 commit comments