Skip to content

Commit 438ff8b

Browse files
authored
Merge pull request #37 from jneira/warn-hieyaml
Warn in hie.yaml.* that they do not currently work
2 parents 03b992b + fbdc352 commit 438ff8b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

hie.yaml.cbl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# This is a sample hie.yaml file for opening haskell-language-server
22
# in hie, using cabal as the build system. To use is, copy it to a
33
# file called 'hie.yaml'
4-
4+
# WARNING: This configuration works for hie but does not for
5+
# haskell-language-server or ghcide.
6+
# They need support for multi-cradle:
7+
# https://github.com/digital-asset/ghcide/issues/113
58
cradle:
69
cabal:
710

hie.yaml.stack

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# This is a sample hie.yaml file for opening haskell-language-server
22
# in hie, using stack as the build system. To use is, copy it to a
33
# file called 'hie.yaml'
4-
4+
# WARNING: This configuration works for hie but does not for
5+
# haskell-language-server or ghcide.
6+
# They need support for multi-cradle:
7+
# https://github.com/digital-asset/ghcide/issues/113
8+
# A "working" hie.yaml (only for lib modules) could be
9+
# ```
10+
# cradle: { stack: { component: "haskell-language-server:lib" } }
11+
# ```
512
cradle:
613
stack:
714
- path: "./test"

0 commit comments

Comments
 (0)