packages feed

hls-stylish-haskell-plugin 1.0.1.1 → 1.0.1.2

raw patch · 3 files changed

+20/−8 lines, 3 filesdep ~ghcidedep ~hls-plugin-apidep ~hls-test-utils

Dependency ranges changed: ghcide, hls-plugin-api, hls-test-utils

Files

hls-stylish-haskell-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-stylish-haskell-plugin-version:            1.0.1.1+version:            1.0.1.2 synopsis:           Integration with the Stylish Haskell code formatter description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -15,7 +15,15 @@   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+  else+    buildable: True   exposed-modules:  Ide.Plugin.StylishHaskell   hs-source-dirs:   src   build-depends:@@ -24,15 +32,19 @@     , filepath     , ghc     , ghc-boot-th-    , ghcide           ^>=1.7-    , hls-plugin-api   ^>=1.4+    , ghcide           ^>=1.7 || ^>= 1.8 || ^>= 1.9+    , hls-plugin-api   ^>=1.4 || ^>= 1.5 || ^>= 1.6     , lsp-types-    , stylish-haskell  ^>=0.12 || ^>=0.13 || ^>=0.14+    , stylish-haskell  ^>=0.12 || ^>=0.13 || ^>=0.14.2     , text    default-language: Haskell2010  test-suite tests+  if impl(ghc >= 9.3)+    buildable: False+  else+    buildable: True   type:             exitcode-stdio-1.0   default-language: Haskell2010   hs-source-dirs:   test@@ -42,4 +54,4 @@     , base     , filepath     , hls-stylish-haskell-plugin-    , hls-test-utils              ^>=1.3+    , hls-test-utils              ^>=1.5
src/Ide/Plugin/StylishHaskell.hs view
@@ -14,7 +14,7 @@ import qualified Development.IDE.GHC.Compat.Util as Util import           GHC.LanguageExtensions.Type import           Ide.PluginUtils-import           Ide.Types+import           Ide.Types                       hiding (Config) import           Language.Haskell.Stylish import           Language.LSP.Types              as J import           System.Directory
test/Main.hs view
@@ -10,8 +10,8 @@ main :: IO () main = defaultTestRunner tests -stylishHaskellPlugin :: PluginDescriptor IdeState-stylishHaskellPlugin = StylishHaskell.descriptor "stylishHaskell"+stylishHaskellPlugin :: PluginTestDescriptor ()+stylishHaskellPlugin = mkPluginTestDescriptor' StylishHaskell.descriptor "stylishHaskell"  tests :: TestTree tests = testGroup "stylish-haskell"