packages feed

hls-stylish-haskell-plugin 2.5.0.0 → 2.6.0.0

raw patch · 2 files changed

+8/−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.5.0.0+version:            2.6.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>@@ -33,8 +33,8 @@     , filepath     , ghc     , ghc-boot-th-    , ghcide           == 2.5.0.0-    , hls-plugin-api   == 2.5.0.0+    , ghcide           == 2.6.0.0+    , hls-plugin-api   == 2.6.0.0     , lsp-types     , mtl     , stylish-haskell  ^>=0.12 || ^>=0.13 || ^>=0.14.2@@ -56,4 +56,4 @@     , base     , filepath     , hls-stylish-haskell-plugin-    , hls-test-utils              == 2.5.0.0+    , hls-test-utils              == 2.6.0.0
src/Ide/Plugin/StylishHaskell.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP               #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ViewPatterns      #-} module Ide.Plugin.StylishHaskell@@ -25,9 +26,11 @@ import           System.FilePath  descriptor :: PluginId -> PluginDescriptor IdeState-descriptor plId = (defaultPluginDescriptor plId)+descriptor plId = (defaultPluginDescriptor plId desc)   { pluginHandlers = mkFormattingHandlers provider   }+  where+    desc = "Provides formatting of Haskell files via stylish-haskell. Built with stylish-haskell-" <> VERSION_stylish_haskell  -- | Formatter provider of stylish-haskell. -- Formats the given source in either a given Range or the whole Document.