Skip to content

Commit f8f2f59

Browse files
committed
Enable Fourmolu plugin on GHC 9.6
1 parent 9bb6bec commit f8f2f59

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ common floskell
334334
cpp-options: -Dhls_floskell
335335

336336
common fourmolu
337-
if flag(fourmolu) && impl(ghc < 9.5)
337+
if flag(fourmolu)
338338
build-depends: hls-fourmolu-plugin ^>= 1.1
339339
cpp-options: -Dhls_fourmolu
340340

plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ source-repository head
2323
location: git://github.com/haskell/haskell-language-server.git
2424

2525
library
26-
if impl(ghc >= 9.5)
27-
buildable: False
26+
buildable: True
2827
exposed-modules:
2928
Ide.Plugin.Fourmolu
3029
, Ide.Plugin.Fourmolu.Shim
@@ -49,8 +48,7 @@ library
4948
default-language: Haskell2010
5049

5150
test-suite tests
52-
if impl(ghc >= 9.5)
53-
buildable: False
51+
buildable: True
5452
type: exitcode-stdio-1.0
5553
default-language: Haskell2010
5654
hs-source-dirs: test

0 commit comments

Comments
 (0)