Skip to content

Commit 5145231

Browse files
committed
wobbles
1 parent 0953705 commit 5145231

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

haskell-language-server.cabal

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ flag dynamic
106106
flag cabalfmt
107107
description: Enable cabal-fmt plugin
108108
default: True
109-
manual: True
109+
manual: False
110110

111111
common cabalfmt
112-
if flag(cabalfmt)
112+
if flag(cabalfmt) && impl(ghc < 9.11)
113113
build-depends: haskell-language-server:hls-cabal-fmt-plugin
114114
cpp-options: -Dhls_cabalfmt
115115

@@ -140,7 +140,7 @@ library hls-cabal-fmt-plugin
140140
-- The `hls-cabal-plugin` is needed for tests, as we need to install notification handlers
141141
test-suite hls-cabal-fmt-plugin-tests
142142
import: defaults, pedantic, test-defaults, warnings
143-
if !flag(cabalfmt)
143+
if !flag(cabalfmt) || !flag(cabal)
144144
buildable: False
145145
type: exitcode-stdio-1.0
146146
hs-source-dirs: plugins/hls-cabal-fmt-plugin/test
@@ -165,7 +165,7 @@ test-suite hls-cabal-fmt-plugin-tests
165165
flag cabalgild
166166
description: Enable cabal-gild plugin
167167
default: True
168-
manual: True
168+
manual: False
169169

170170
common cabalgild
171171
if flag(cabalgild)
@@ -198,7 +198,7 @@ library hls-cabal-gild-plugin
198198
-- The `hls-cabal-plugin` is needed for tests, as we need to install notification handlers
199199
test-suite hls-cabal-gild-plugin-tests
200200
import: defaults, pedantic, test-defaults, warnings
201-
if !flag(cabalgild)
201+
if !flag(cabalgild) || !flag(cabal)
202202
buildable: False
203203
type: exitcode-stdio-1.0
204204
hs-source-dirs: plugins/hls-cabal-gild-plugin/test
@@ -224,7 +224,7 @@ test-suite hls-cabal-gild-plugin-tests
224224
flag cabal
225225
description: Enable cabal plugin
226226
default: True
227-
manual: True
227+
manual: False
228228

229229
common cabal
230230
if flag(cabal)
@@ -322,7 +322,7 @@ test-suite hls-cabal-plugin-tests
322322
flag class
323323
description: Enable class plugin
324324
default: True
325-
manual: True
325+
manual: False
326326

327327
common class
328328
if flag(class)
@@ -384,7 +384,7 @@ test-suite hls-class-plugin-tests
384384
flag callHierarchy
385385
description: Enable call hierarchy plugin
386386
default: True
387-
manual: True
387+
manual: False
388388

389389
common callHierarchy
390390
if flag(callHierarchy)
@@ -444,7 +444,7 @@ test-suite hls-call-hierarchy-plugin-tests
444444
flag eval
445445
description: Enable eval plugin
446446
default: True
447-
manual: True
447+
manual: False
448448

449449
common eval
450450
if flag(eval)
@@ -533,7 +533,7 @@ common importLens
533533
flag importLens
534534
description: Enable importLens plugin
535535
default: True
536-
manual: True
536+
manual: False
537537

538538
library hls-explicit-imports-plugin
539539
import: defaults, pedantic, warnings
@@ -583,7 +583,7 @@ test-suite hls-explicit-imports-plugin-tests
583583
flag rename
584584
description: Enable rename plugin
585585
default: True
586-
manual: True
586+
manual: False
587587

588588
common rename
589589
if flag(rename)
@@ -641,7 +641,7 @@ test-suite hls-rename-plugin-tests
641641
flag retrie
642642
description: Enable retrie plugin
643643
default: True
644-
manual: True
644+
manual: False
645645

646646
common retrie
647647
if flag(retrie) && impl(ghc < 9.10)
@@ -710,7 +710,7 @@ flag ghc-lib
710710
flag hlint
711711
description: Enable hlint plugin
712712
default: True
713-
manual: True
713+
manual: False
714714

715715
common hlint
716716
if flag(hlint) && impl(ghc < 9.10)
@@ -791,7 +791,7 @@ test-suite hls-hlint-plugin-tests
791791
flag stan
792792
description: Enable stan plugin
793793
default: True
794-
manual: True
794+
manual: False
795795

796796
common stan
797797
if flag(stan)
@@ -854,7 +854,7 @@ test-suite hls-stan-plugin-tests
854854
flag moduleName
855855
description: Enable moduleName plugin
856856
default: True
857-
manual: True
857+
manual: False
858858

859859
common moduleName
860860
if flag(moduleName)
@@ -900,7 +900,7 @@ test-suite hls-module-name-plugin-tests
900900
flag pragmas
901901
description: Enable pragmas plugin
902902
default: True
903-
manual: True
903+
manual: False
904904

905905
common pragmas
906906
if flag(pragmas)
@@ -951,7 +951,7 @@ test-suite hls-pragmas-plugin-tests
951951
flag splice
952952
description: Enable splice plugin
953953
default: True
954-
manual: True
954+
manual: False
955955

956956
common splice
957957
if flag(splice) && impl(ghc < 9.10)
@@ -1008,7 +1008,7 @@ test-suite hls-splice-plugin-tests
10081008
flag alternateNumberFormat
10091009
description: Enable Alternate Number Format plugin
10101010
default: True
1011-
manual: True
1011+
manual: False
10121012

10131013
common alternateNumberFormat
10141014
if flag(alternateNumberFormat)
@@ -1072,7 +1072,7 @@ test-suite hls-alternate-number-format-plugin-tests
10721072
flag qualifyImportedNames
10731073
description: Enable qualifyImportedNames plugin
10741074
default: True
1075-
manual: True
1075+
manual: False
10761076

10771077
common qualifyImportedNames
10781078
if flag(qualifyImportedNames)
@@ -1121,7 +1121,7 @@ test-suite hls-qualify-imported-names-plugin-tests
11211121
flag codeRange
11221122
description: Enable Code Range plugin
11231123
default: True
1124-
manual: True
1124+
manual: False
11251125

11261126
common codeRange
11271127
if flag(codeRange)
@@ -1182,7 +1182,7 @@ test-suite hls-code-range-plugin-tests
11821182
flag changeTypeSignature
11831183
description: Enable changeTypeSignature plugin
11841184
default: True
1185-
manual: True
1185+
manual: False
11861186

11871187
common changeTypeSignature
11881188
if flag(changeTypeSignature)
@@ -1237,7 +1237,7 @@ test-suite hls-change-type-signature-plugin-tests
12371237
flag gadt
12381238
description: Enable gadt plugin
12391239
default: True
1240-
manual: True
1240+
manual: False
12411241

12421242
common gadt
12431243
if flag(gadt)
@@ -1290,7 +1290,7 @@ test-suite hls-gadt-plugin-tests
12901290
flag explicitFixity
12911291
description: Enable explicitFixity plugin
12921292
default: True
1293-
manual: True
1293+
manual: False
12941294

12951295
common explicitFixity
12961296
if flag(explicitFixity)
@@ -1337,7 +1337,7 @@ test-suite hls-explicit-fixity-plugin-tests
13371337
flag explicitFields
13381338
description: Enable explicitFields plugin
13391339
default: True
1340-
manual: True
1340+
manual: False
13411341

13421342
common explicitFields
13431343
if flag(explicitFields)
@@ -1388,7 +1388,7 @@ test-suite hls-explicit-record-fields-plugin-tests
13881388
flag overloadedRecordDot
13891389
description: Enable overloadedRecordDot plugin
13901390
default: True
1391-
manual: True
1391+
manual: False
13921392

13931393
common overloadedRecordDot
13941394
if flag(overloadedRecordDot)
@@ -1437,7 +1437,7 @@ test-suite hls-overloaded-record-dot-plugin-tests
14371437
flag floskell
14381438
description: Enable floskell plugin
14391439
default: True
1440-
manual: True
1440+
manual: False
14411441

14421442
common floskell
14431443
if flag(floskell) && impl(ghc < 9.10)
@@ -1481,7 +1481,7 @@ test-suite hls-floskell-plugin-tests
14811481
flag fourmolu
14821482
description: Enable fourmolu plugin
14831483
default: True
1484-
manual: True
1484+
manual: False
14851485

14861486
common fourmolu
14871487
if flag(fourmolu)
@@ -1537,7 +1537,7 @@ test-suite hls-fourmolu-plugin-tests
15371537
flag ormolu
15381538
description: Enable ormolu plugin
15391539
default: True
1540-
manual: True
1540+
manual: False
15411541

15421542
common ormolu
15431543
if flag(ormolu)
@@ -1594,7 +1594,7 @@ test-suite hls-ormolu-plugin-tests
15941594
flag stylishHaskell
15951595
description: Enable stylishHaskell plugin
15961596
default: True
1597-
manual: True
1597+
manual: False
15981598

15991599
common stylishHaskell
16001600
if flag(stylishHaskell) && impl(ghc < 9.10)
@@ -1641,7 +1641,7 @@ test-suite hls-stylish-haskell-plugin-tests
16411641
flag refactor
16421642
description: Enable refactor plugin
16431643
default: True
1644-
manual: True
1644+
manual: False
16451645

16461646
common refactor
16471647
if flag(refactor)
@@ -1744,7 +1744,7 @@ test-suite hls-refactor-plugin-tests
17441744
flag semanticTokens
17451745
description: Enable semantic tokens plugin
17461746
default: True
1747-
manual: True
1747+
manual: False
17481748

17491749
common semanticTokens
17501750
if flag(semanticTokens)
@@ -1823,7 +1823,7 @@ test-suite hls-semantic-tokens-plugin-tests
18231823
flag notes
18241824
description: Enable notes plugin
18251825
default: True
1826-
manual: True
1826+
manual: False
18271827

18281828
common notes
18291829
if flag(notes)

0 commit comments

Comments
 (0)