packages feed

hls-stylish-haskell-plugin 1.0.0.2 → 1.0.0.3

raw patch · 2 files changed

+6/−7 lines, 2 filesdep ~ghcide

Dependency ranges changed: ghcide

Files

hls-stylish-haskell-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-stylish-haskell-plugin-version:            1.0.0.2+version:            1.0.0.3 synopsis:           Integration with the Stylish Haskell code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -24,10 +24,10 @@     , filepath     , ghc     , ghc-boot-th-    , ghcide           >=1.2  && <1.5+    , ghcide           >=1.2  && <1.6     , hls-plugin-api   >=1.1  && <1.3     , lsp-types-    , stylish-haskell  ^>=0.12+    , stylish-haskell  ^>=0.12 || ^>=0.13     , text    default-language: Haskell2010
src/Ide/Plugin/StylishHaskell.hs view
@@ -9,9 +9,8 @@ import           Data.Text                   (Text) import qualified Data.Text                   as T import           Development.IDE             hiding (pluginHandlers)-import           Development.IDE.GHC.Compat  (ModSummary (ms_hspp_opts))-import qualified DynFlags                    as D-import qualified EnumSet                     as ES+import           Development.IDE.GHC.Compat  (ModSummary (ms_hspp_opts), extensionFlags)+import qualified Development.IDE.GHC.Compat.Util as Util import           GHC.LanguageExtensions.Type import           Ide.PluginUtils import           Ide.Types@@ -52,7 +51,7 @@       | otherwise       = pure config -    getExtensions = map showExtension . ES.toList . D.extensionFlags+    getExtensions = map showExtension . Util.toList . extensionFlags      showExtension Cpp   = "CPP"     showExtension other = show other