Clarify and downgrade implicit-hie message (#883)

This commit is contained in:
Avi Dessauer 2020-10-24 04:42:18 -04:00 committed by GitHub
parent d76fbf9a5c
commit 6a6b68dc8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -680,10 +680,11 @@ cacheDir = "ghcide"
notifyUserImplicitCradle:: FilePath -> FromServerMessage
notifyUserImplicitCradle fp =
NotShowMessage $
NotificationMessage "2.0" WindowShowMessage $ ShowMessageParams MtWarning $
NotificationMessage "2.0" WindowShowMessage $ ShowMessageParams MtInfo $
"No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for "
<> T.pack fp <>
".\n Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie)"
".\n Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).\n\
\You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error."
notifyCradleLoaded :: FilePath -> FromServerMessage
notifyCradleLoaded fp =