packages feed

hls-stylish-haskell-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-stylish-haskell-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-stylish-haskell-plugin-version:            2.1.0.0+version:            2.2.0.0 synopsis:           Integration with the Stylish Haskell code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -28,8 +28,8 @@     , filepath     , 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     , lsp-types     , mtl     , stylish-haskell  ^>=0.12 || ^>=0.13 || ^>=0.14.2@@ -47,4 +47,4 @@     , base     , filepath     , hls-stylish-haskell-plugin-    , hls-test-utils              == 2.1.0.0+    , hls-test-utils              == 2.2.0.0
test/Main.hs view
@@ -22,7 +22,7 @@   ]  goldenWithStylishHaskell :: TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree-goldenWithStylishHaskell title fp desc = goldenWithHaskellDocFormatter stylishHaskellPlugin "stylishHaskell" def title testDataDir fp desc "hs"+goldenWithStylishHaskell title fp desc = goldenWithHaskellDocFormatter def stylishHaskellPlugin "stylishHaskell" def title testDataDir fp desc "hs"  testDataDir :: FilePath testDataDir = "test" </> "testdata"