Skip to content

Commit c50a0e1

Browse files
authored
Integrate stylish-haskell into hls executable with ghc 9.8 (#4124)
1 parent 8a8f59b commit c50a0e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cabal.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ packages:
88
./hls-plugin-api
99
./hls-test-utils
1010

11-
index-state: 2024-02-25T00:00:00Z
11+
index-state: 2024-03-09T08:17:00Z
1212

1313
tests: True
1414
test-show-details: direct

haskell-language-server.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ flag stylishHaskell
14161416
manual: True
14171417

14181418
common stylishHaskell
1419-
if flag(stylishHaskell) && (impl(ghc < 9.8.0) || flag(ignore-plugins-ghc-bounds))
1419+
if flag(stylishHaskell)
14201420
build-depends: haskell-language-server:hls-stylish-haskell-plugin
14211421
cpp-options: -Dhls_stylishHaskell
14221422

@@ -1433,7 +1433,7 @@ library hls-stylish-haskell-plugin
14331433
, hls-plugin-api == 2.7.0.0
14341434
, lsp-types
14351435
, mtl
1436-
, stylish-haskell ^>=0.12 || ^>=0.13 || ^>=0.14.2
1436+
, stylish-haskell ^>=0.12 || ^>=0.13 || ^>=0.14
14371437
, text
14381438

14391439

0 commit comments

Comments
 (0)