packages feed

hls-fourmolu-plugin 2.1.0.0 → 2.2.0.0

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~ghcidedep ~hls-plugin-apidep ~hls-test-utilsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ghcide, hls-plugin-api, hls-test-utils

API changes (from Hackage documentation)

Files

hls-fourmolu-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-fourmolu-plugin-version:            2.1.0.0+version:            2.2.0.0 synopsis:           Integration with the Fourmolu code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -35,8 +35,8 @@     , fourmolu        ^>=0.3 || ^>=0.4 || ^>= 0.6 || ^>= 0.7 || ^>= 0.8 || ^>= 0.9 || ^>= 0.10 || ^>= 0.11 || ^>= 0.12 || ^>= 0.13     , ghc     , ghc-boot-th-    , ghcide          == 2.1.0.0-    , hls-plugin-api  == 2.1.0.0+    , ghcide          == 2.2.0.0+    , hls-plugin-api  == 2.2.0.0     , lens     , lsp     , mtl@@ -65,5 +65,5 @@     , filepath     , hls-fourmolu-plugin     , hls-plugin-api-    , hls-test-utils       == 2.1.0.0+    , hls-test-utils       == 2.2.0.0     , lsp-test
test/Main.hs view
@@ -31,7 +31,7 @@         ]  goldenWithFourmolu :: Bool -> TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree-goldenWithFourmolu cli title path desc = goldenWithHaskellDocFormatter fourmoluPlugin "fourmolu" conf title testDataDir path desc "hs"+goldenWithFourmolu cli title path desc = goldenWithHaskellDocFormatter def fourmoluPlugin "fourmolu" conf title testDataDir path desc "hs"  where   conf = def{plcConfig = (\(Object obj) -> obj) $ object ["external" .= cli]}