packages feed

hls-brittany-plugin 1.0.2.2 → 1.1.0.0

raw patch · 3 files changed

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

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

Files

hls-brittany-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               hls-brittany-plugin-version:            1.0.2.2+version:            1.1.0.0 synopsis:           Integration with the Brittany 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.2)     buildable: False@@ -29,8 +33,8 @@     , brittany        >=0.13.1.0 && < 0.14.0.1 || > 0.14.0.1     , filepath     , 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-types     , text@@ -56,4 +60,4 @@     , base     , filepath     , hls-brittany-plugin-    , hls-test-utils        ^>=1.3 || ^>= 1.4+    , hls-test-utils        ^>=1.5
src/Ide/Plugin/Brittany.hs view
@@ -17,13 +17,14 @@ import           Data.Text                                       (Text) import qualified Data.Text                                       as T import           Development.IDE                                 hiding-                                                                 (pluginHandlers)+                                                                 (getExtensions,+                                                                  pluginHandlers) import qualified Development.IDE.GHC.Compat                      as GHC hiding                                                                         (Cpp) import qualified Development.IDE.GHC.Compat.Util                 as GHC import           GHC.LanguageExtensions.Type import           Ide.PluginUtils-import           Ide.Types+import           Ide.Types                                       hiding (Config) import           Language.Haskell.Brittany import           Language.LSP.Types                              as J import qualified Language.LSP.Types.Lens                         as J
test/Main.hs view
@@ -10,8 +10,8 @@ main :: IO () main = defaultTestRunner tests -brittanyPlugin :: PluginDescriptor IdeState-brittanyPlugin = Brittany.descriptor "brittany"+brittanyPlugin :: PluginTestDescriptor ()+brittanyPlugin = mkPluginTestDescriptor' Brittany.descriptor "brittany"  tests :: TestTree tests = testGroup "brittany"