@@ -1442,19 +1442,19 @@ flag fourmolu
14421442 manual : True
14431443
14441444common fourmolu
1445- if flag(fourmolu) && (impl(ghc < 9.11 ) || flag(ignore-plugins-ghc-bounds))
1445+ if flag(fourmolu)
14461446 build-depends : haskell-language-server :hls-fourmolu-plugin
14471447 cpp-options : -Dhls_fourmolu
14481448
14491449library hls-fourmolu-plugin
14501450 import : defaults, pedantic, warnings
1451- if !flag(fourmolu) || (impl(ghc > 9.11 ) && !flag(ignore-plugins-ghc-bounds))
1451+ if !flag(fourmolu)
14521452 buildable : False
14531453 exposed-modules : Ide.Plugin.Fourmolu
14541454 hs-source-dirs : plugins/hls-fourmolu-plugin/src
14551455 build-depends :
14561456 , filepath
1457- , fourmolu ^>= 0.14 || ^>= 0.15 || ^>= 0.16
1457+ , fourmolu ^>= 0.14 || ^>= 0.15 || ^>= 0.16 || ^ >= 0.17 || ^ >= 0.18
14581458 , ghc-boot-th
14591459 , ghcide == 2.10.0.0
14601460 , hls-plugin-api == 2.10.0.0
@@ -1468,7 +1468,7 @@ library hls-fourmolu-plugin
14681468
14691469test-suite hls-fourmolu-plugin-tests
14701470 import : defaults, pedantic, test-defaults, warnings
1471- if !flag(fourmolu) || (impl(ghc > 9.11 ) && !flag(ignore-plugins-ghc-bounds))
1471+ if !flag(fourmolu)
14721472 buildable : False
14731473 type : exitcode-stdio-1.0
14741474 hs-source-dirs : plugins/hls-fourmolu-plugin/test
@@ -1496,13 +1496,13 @@ flag ormolu
14961496 manual : True
14971497
14981498common ormolu
1499- if flag(ormolu) && (impl(ghc < 9.11 ) || flag(ignore-plugins-ghc-bounds))
1499+ if flag(ormolu)
15001500 build-depends : haskell-language-server :hls-ormolu-plugin
15011501 cpp-options : -Dhls_ormolu
15021502
15031503library hls-ormolu-plugin
15041504 import : defaults, pedantic, warnings
1505- if !flag(ormolu) || (impl(ghc > 9.11 ) && !flag(ignore-plugins-ghc-bounds))
1505+ if !flag(ormolu)
15061506 buildable : False
15071507 exposed-modules : Ide.Plugin.Ormolu
15081508 hs-source-dirs : plugins/hls-ormolu-plugin/src
@@ -1515,14 +1515,14 @@ library hls-ormolu-plugin
15151515 , lsp
15161516 , mtl
15171517 , process-extras >= 0.7.1
1518- , ormolu ^>= 0.1.2 || ^ >= 0.2 || ^ >= 0. 3 || ^>= 0.5 || ^>= 0.6 || ^>= 0.7
1518+ , ormolu ^>= 0.5. 3 || ^>= 0.6 || ^>= 0.7 || ^>= 0.8
15191519 , text
15201520 , transformers
15211521
15221522
15231523test-suite hls-ormolu-plugin-tests
15241524 import : defaults, pedantic, test-defaults, warnings
1525- if !flag(ormolu) || (impl(ghc > 9.11 ) && !flag(ignore-plugins-ghc-bounds))
1525+ if !flag(ormolu)
15261526 buildable : False
15271527 type : exitcode-stdio-1.0
15281528 hs-source-dirs : plugins/hls-ormolu-plugin/test
@@ -2009,9 +2009,9 @@ test-suite func-test
20092009-- formatters
20102010 if flag(floskell) && (impl(ghc < 9.10 ) || flag(ignore-plugins-ghc-bounds))
20112011 cpp-options : -Dhls_floskell
2012- if flag(fourmolu) && (impl(ghc < 9.11 ) || flag(ignore-plugins-ghc-bounds))
2012+ if flag(fourmolu)
20132013 cpp-options : -Dhls_fourmolu
2014- if flag(ormolu) && (impl(ghc < 9.11 ) || flag(ignore-plugins-ghc-bounds))
2014+ if flag(ormolu)
20152015 cpp-options : -Dhls_ormolu
20162016
20172017test-suite wrapper-test
0 commit comments