Skip to content

Commit

Permalink
Support fourmolu-0.8.1.0 (haskell#3103)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonchinn178 authored and sloorush committed Sep 12, 2022
1 parent bbf61b5 commit 0e21efe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/hls-fourmolu-plugin/src/Ide/Plugin/Fourmolu/Shim.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ cfgFileFixities :: FourmoluConfig -> FixityMap
cfgFileFixities _ = mempty
#endif

#if MIN_VERSION_fourmolu(0,7,0)
#if MIN_VERSION_fourmolu(0,8,1)
-- emptyConfig now provided
#elif MIN_VERSION_fourmolu(0,7,0)
emptyConfig :: FourmoluConfig
emptyConfig =
FourmoluConfig
Expand Down

0 comments on commit 0e21efe

Please sign in to comment.