packages feed

hls-cabal-fmt-plugin 2.5.0.0 → 2.6.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-cabal-fmt-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-cabal-fmt-plugin-version:            2.5.0.0+version:            2.6.0.0 synopsis:           Integration with the cabal-fmt code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -33,8 +33,8 @@     , base            >=4.12 && <5     , directory     , filepath-    , ghcide          == 2.5.0.0-    , hls-plugin-api  == 2.5.0.0+    , ghcide          == 2.6.0.0+    , hls-plugin-api  == 2.6.0.0     , lens     , lsp-types     , mtl@@ -56,7 +56,7 @@     , directory     , filepath     , hls-cabal-fmt-plugin-    , hls-test-utils        == 2.5.0.0+    , hls-test-utils        == 2.6.0.0    if flag(isolateTests)     build-tool-depends: cabal-fmt:cabal-fmt ^>=0.1.6
src/Ide/Plugin/CabalFmt.hs view
@@ -39,7 +39,7 @@  descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState descriptor recorder plId =-  (defaultCabalPluginDescriptor plId)+  (defaultCabalPluginDescriptor plId "Provides formatting of cabal files with cabal-fmt")     { pluginHandlers = mkFormattingHandlers (provider recorder)     }