hls-cabal-fmt-plugin 0.1.0.0 → 2.0.0.0
raw patch · 3 files changed
+14/−5 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-cabal-fmt-plugin.cabal +7/−5
- test/testdata/src/MyLib.hs +4/−0
- test/testdata/src/MyOtherLib.hs +3/−0
hls-cabal-fmt-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: hls-cabal-fmt-plugin-version: 0.1.0.0+version: 2.0.0.0 synopsis: Integration with the cabal-fmt code formatter description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -12,7 +12,9 @@ maintainer: jana.chadt@nets.at category: Development build-type: Simple-extra-source-files: LICENSE+extra-source-files:+ LICENSE+ test/testdata/**/*.hs flag isolateTests description: Should tests search for 'cabal-fmt' on the $PATH or shall we install it via build-tool-depends?@@ -31,8 +33,8 @@ , base >=4.12 && <5 , directory , filepath- , ghcide ^>= 1.9- , hls-plugin-api ^>= 1.6+ , ghcide == 2.0.0.0+ , hls-plugin-api == 2.0.0.0 , lens , lsp-types , process@@ -53,7 +55,7 @@ , directory , filepath , hls-cabal-fmt-plugin- , hls-test-utils ^>=1.5+ , hls-test-utils == 2.0.0.0 if flag(isolateTests) build-tool-depends: cabal-fmt:cabal-fmt ^>=0.1.6
+ test/testdata/src/MyLib.hs view
@@ -0,0 +1,4 @@+module MyLib (someFunc) where++someFunc :: IO ()+someFunc = putStrLn "someFunc"
+ test/testdata/src/MyOtherLib.hs view
@@ -0,0 +1,3 @@+module MyOtherLib where++bar = 2