packages feed

hls-ormolu-plugin 1.0.1.0 → 1.0.1.1

raw patch · 2 files changed

+12/−29 lines, 2 filesdep −ghc-api-compatdep ~ghcidePVP ok

version bump matches the API change (PVP)

Dependencies removed: ghc-api-compat

Dependency ranges changed: ghcide

API changes (from Hackage documentation)

Files

hls-ormolu-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-ormolu-plugin-version:            1.0.1.0+version:            1.0.1.1 synopsis:           Integration with the Ormolu code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -24,30 +24,14 @@     , filepath     , ghc     , ghc-boot-th-    , ghcide          >=1.2   && <1.5+    , ghcide          >=1.2   && <1.6     , hls-plugin-api  >=1.1   && <1.3     , lens     , lsp-    , ormolu          ^>=0.1.2 || ^>= 0.2+    , ormolu          ^>=0.1.2 || ^>= 0.2 || ^>= 0.3     , text    default-language: Haskell2010--  if impl(ghc < 8.10.5)-    build-depends:-      ghc-api-compat ==8.6-  elif impl(ghc == 8.10.5)-    build-depends:-      ghc-api-compat ==8.10.5-  elif impl(ghc == 8.10.6)-    build-depends:-      ghc-api-compat ==8.10.6-  elif impl(ghc == 8.10.7)-    build-depends:-      ghc-api-compat ==8.10.7-  elif impl(ghc == 9.0.1)-    build-depends:-      ghc-api-compat ==9.0.1  test-suite tests   type:             exitcode-stdio-1.0
src/Ide/Plugin/Ormolu.hs view
@@ -7,21 +7,20 @@   ) where -import           Control.Exception           (try)-import           Control.Monad.IO.Class      (liftIO)-import qualified Data.Text                   as T-import           Development.IDE             hiding (pluginHandlers)-import           Development.IDE.GHC.Compat  (moduleNameString)-import qualified DynFlags                    as D-import qualified EnumSet                     as S+import           Control.Exception               (try)+import           Control.Monad.IO.Class          (liftIO)+import qualified Data.Text                       as T+import           Development.IDE                 hiding (pluginHandlers)+import           Development.IDE.GHC.Compat      (moduleNameString, hsc_dflags)+import qualified Development.IDE.GHC.Compat      as D+import qualified Development.IDE.GHC.Compat.Util as S import           GHC.LanguageExtensions.Type-import           GhcPlugins                  (HscEnv (hsc_dflags)) import           Ide.PluginUtils import           Ide.Types-import           Language.LSP.Server         hiding (defaultConfig)+import           Language.LSP.Server             hiding (defaultConfig) import           Language.LSP.Types import           Ormolu-import           System.FilePath             (takeFileName)+import           System.FilePath                 (takeFileName)  -- ---------------------------------------------------------------------