-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type info doesn't show up in the :command line, but only in GHCi #68
Comments
Thanks for the report and |
Well, I stripped down my init.vim to this and it still didn't work:
I open my standalone file, :InteroLoadCurrentFile, :InteroType and nothing happens. Only when I run :InteroOpen can I see the type was printed out to GHCi. EDIT: If it helps: I'm on MacOS (beta) and have the nvim from homebrew (0.2.0). |
I can't replicate this on Ubuntu with nvim-0.2.1 :\ |
I tried latest nvim nightly with my simplified |
You can see the process step by step in the asciicast in the README
(towards the end of the video). You can even try it in the same Haskell
project if you want: <https://github.com/jez/pandoc-sidenote>
…On Fri, Jul 21, 2017 at 4:07 AM Eugen Wybitul ***@***.***> wrote:
I tried latest nvim nightly with my simplified init.vim and it still
doesn't work... In what else could the problem be?
Just to be sure, what should be the exact step-by-step procedure, the one
that works for you? (from opening the file to eventually getting the type)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#68 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFSaVII5ldM4czAS5w4iqlgv2VJHz92Pks5sQGpegaJpZM4OdVv_>
.
|
Yep, this is happening to me now :| |
@Eugleo , can you check if |
Actually, just pull master and try running |
Yes, it seems Intero is still starting up. |
Chiming in here as I also have this problem, but my What is interesting that I've found is that errors with doing |
I think I found the fix for this, at least for my situation... It is getting late here but I'll put up what should be a small patch here or a PR soon, and see what people think. It may be incorrect but should at least shed some light on what's going on... |
So the root issue seems to be that not everyone's Intero REPL behaves the same. Here's mine after a
So, we care about
(Technically, we actually want to output the rest of the response too since in the case of errors, However, this is not actually always correct, since the ASCII demo in the
But as you can see, in my case, I don't have the command printed out to the REPL line, I have the response printed there. Perhaps its a difference in Intero version or something? Also #132, which I'm also facing, is probably related to this. |
Steps to reproduce:
My init.vim.
The text was updated successfully, but these errors were encountered: