File tree Expand file tree Collapse file tree 5 files changed +19
-12
lines changed Expand file tree Collapse file tree 5 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ jobs:
190
190
name : Test hls-splice-plugin
191
191
run : cabal test hls-splice-plugin --test-options="$TEST_OPTS" || cabal test hls-splice-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="$TEST_OPTS"
192
192
193
- - if : matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9. 2.2'
193
+ - if : matrix.test && matrix.ghc != '9.2.2'
194
194
name : Test hls-stylish-haskell-plugin
195
195
run : cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS"
196
196
Original file line number Diff line number Diff line change @@ -35,14 +35,21 @@ package *
35
35
ghc-options: -haddock
36
36
test-show-details: direct
37
37
38
+
39
+ -- stylish-haskell 9.0
40
+ source-repository-package
41
+ type: git
42
+ location: https://github.com/July541/stylish-haskell.git
43
+ tag: b08a85716b991359a46a32e8e7ba5780664d31ae
44
+
38
45
write-ghc-environment-files: never
39
46
40
47
index-state: 2022-03-08T10:53:01Z
41
48
42
49
constraints:
43
50
-- These plugins don't work on GHC9 yet
44
51
-- Add a plugin needs remove the -flag but also update ghc bounds in hls.cabal
45
- haskell-language-server +ignore-plugins-ghc-bounds -stylishhaskell ,
52
+ haskell-language-server +ignore-plugins-ghc-bounds,
46
53
ghc-lib-parser ^>= 9.0
47
54
48
55
-- although we are not building all plugins cabal solver phase is run for all packages
@@ -57,10 +64,6 @@ allow-newer:
57
64
-- https://github.com/lspitzner/butcher/pull/8
58
65
butcher:base,
59
66
60
- stylish-haskell:Cabal,
61
- stylish-haskell:ghc-lib-parser,
62
- stylish-haskell:aeson,
63
-
64
67
-- ghc-9.0.2 specific
65
68
-- for ghcide:test via ghc-typelits-knownnat
66
69
ghc-typelits-natnormalise:ghc-bignum
Original file line number Diff line number Diff line change 4
4
let
5
5
disabledPlugins = [
6
6
"hls-brittany-plugin"
7
- "hls-stylish-haskell-plugin"
8
7
] ;
9
8
10
9
hpkgsOverride = hself : hsuper :
20
19
hself . callCabal2nixWithOptions "haskell-language-server" ./.
21
20
( pkgs . lib . concatStringsSep " " [
22
21
"-f-brittany"
23
- "-f-stylishhaskell"
24
22
] ) { } ;
25
23
26
24
# YOLO
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ packages:
21
21
- ./plugins/hls-splice-plugin
22
22
- ./plugins/hls-tactics-plugin
23
23
- ./plugins/hls-brittany-plugin
24
- # - ./plugins/hls-stylish-haskell-plugin
24
+ - ./plugins/hls-stylish-haskell-plugin
25
25
- ./plugins/hls-floskell-plugin
26
26
- ./plugins/hls-fourmolu-plugin
27
27
- ./plugins/hls-pragmas-plugin
@@ -65,6 +65,10 @@ extra-deps:
65
65
- statestack-0.3
66
66
- operational-0.2.4.1
67
67
68
+ # stylish-haskell 9.0
69
+ - github : July541/stylish-haskell
70
+ commit : b08a85716b991359a46a32e8e7ba5780664d31ae
71
+
68
72
# currently needed for ghcide>extra, etc.
69
73
allow-newer : true
70
74
84
88
pedantic : true
85
89
86
90
ignore-plugins-ghc-bounds : true
87
- stylishHaskell : false
88
91
89
92
retrie :
90
93
BuildExecutable : false
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ packages:
21
21
- ./plugins/hls-splice-plugin
22
22
- ./plugins/hls-tactics-plugin
23
23
- ./plugins/hls-brittany-plugin
24
- # - ./plugins/hls-stylish-haskell-plugin
24
+ - ./plugins/hls-stylish-haskell-plugin
25
25
- ./plugins/hls-floskell-plugin
26
26
- ./plugins/hls-fourmolu-plugin
27
27
- ./plugins/hls-pragmas-plugin
@@ -87,6 +87,10 @@ extra-deps:
87
87
- unix-2.7.2.2
88
88
- Win32-2.12.0.1
89
89
90
+ # stylish-haskell 9.0
91
+ - github : July541/stylish-haskell
92
+ commit : b08a85716b991359a46a32e8e7ba5780664d31ae
93
+
90
94
# currently needed for ghcide>extra, etc.
91
95
allow-newer : true
92
96
@@ -106,7 +110,6 @@ flags:
106
110
pedantic : true
107
111
108
112
ignore-plugins-ghc-bounds : true
109
- stylishHaskell : false
110
113
111
114
retrie :
112
115
BuildExecutable : false
You can’t perform that action at this time.
0 commit comments