Skip to content

Commit

Permalink
Use refineConfig to load default fixities
Browse files Browse the repository at this point in the history
  • Loading branch information
georgefst committed Oct 29, 2023
1 parent c4caba0 commit a9e6930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/hls-fourmolu-plugin/src/Ide/Plugin/Fourmolu.hs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ provider recorder plId ideState typ contents fp fo = ExceptT $ withIndefinitePro
errorMessage = "Failed to load " <> T.pack f <> ": " <> T.pack (show err)

let config =
defaultConfig
refineConfig ModuleSource Nothing Nothing Nothing defaultConfig
{ cfgDynOptions = map DynOption fileOpts
, cfgFixityOverrides = cfgFileFixities
, cfgRegion = region
Expand Down

0 comments on commit a9e6930

Please sign in to comment.