Skip to content

Commit

Permalink
Integrate stylish-haskell into hls executable with ghc 9.8 (#4124)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcek committed Mar 9, 2024
1 parent 8a8f59b commit c50a0e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages:
./hls-plugin-api
./hls-test-utils

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

tests: True
test-show-details: direct
Expand Down
4 changes: 2 additions & 2 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ flag stylishHaskell
manual: True

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

Expand All @@ -1433,7 +1433,7 @@ library hls-stylish-haskell-plugin
, hls-plugin-api == 2.7.0.0
, lsp-types
, mtl
, stylish-haskell ^>=0.12 || ^>=0.13 || ^>=0.14.2
, stylish-haskell ^>=0.12 || ^>=0.13 || ^>=0.14
, text


Expand Down

0 comments on commit c50a0e1

Please sign in to comment.