packages feed

hls-ormolu-plugin 1.0.2.2 → 1.0.3.0

raw patch · 3 files changed

+11/−7 lines, 3 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-ormolu-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-ormolu-plugin-version:            1.0.2.2+version:            1.0.3.0 synopsis:           Integration with the Ormolu code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -16,6 +16,10 @@   LICENSE   test/testdata/**/*.hs +source-repository head+    type:     git+    location: https://github.com/haskell/haskell-language-server.git+ library   if impl(ghc >= 9.3)     buildable: False@@ -28,8 +32,8 @@     , filepath     , ghc     , ghc-boot-th-    , ghcide          ^>=1.6 || ^>=1.7 || ^>= 1.8-    , hls-plugin-api  ^>=1.3 || ^>=1.4 || ^>= 1.5+    , ghcide          ^>=1.6 || ^>=1.7 || ^>= 1.8 || ^>= 1.9+    , hls-plugin-api  ^>=1.3 || ^>=1.4 || ^>= 1.5 || ^>= 1.6     , lens     , lsp     , ormolu          ^>=0.1.2 || ^>= 0.2 || ^>= 0.3 || ^>= 0.5@@ -51,5 +55,5 @@     , base     , filepath     , hls-ormolu-plugin-    , hls-test-utils     ^>=1.3 || ^>=1.4+    , hls-test-utils     ^>=1.5     , lsp-types
src/Ide/Plugin/Ormolu.hs view
@@ -16,7 +16,7 @@ import qualified Development.IDE.GHC.Compat.Util as S import           GHC.LanguageExtensions.Type import           Ide.PluginUtils-import           Ide.Types+import           Ide.Types                       hiding (Config) import           Language.LSP.Server             hiding (defaultConfig) import           Language.LSP.Types import           Ormolu
test/Main.hs view
@@ -11,8 +11,8 @@ main :: IO () main = defaultTestRunner tests -ormoluPlugin :: PluginDescriptor IdeState-ormoluPlugin = Ormolu.descriptor "ormolu"+ormoluPlugin :: PluginTestDescriptor ()+ormoluPlugin = mkPluginTestDescriptor' Ormolu.descriptor "ormolu"  tests :: TestTree tests = testGroup "ormolu"