-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
hoogle_signature()
[telescope-web handler]: cryptic error message when curl fails
#322
Comments
hoogle_signature()
isn't working properly
I assume it fails to fetch a proper response from the hoogle API? Tried running with |
Hey 👋 Thanks for reporting.
This isn't enough information to reproduce the bug. For example, the following would be useful:
|
Here is a file producing the same problem. logs
|
hoogle_signature()
isn't working properlyhoogle_signature()
[telescope-web handler]: cryptic error message when curl fails
So I tried reproducing your issue, and couldn't. Unfortunately, all I can do here is catch the failure and notify with an appropriate error message. To work around your problem, you have a few options:
|
Yeah, it's quite weird, thanks for looking. My internet is fine, I've tried looking through the source a do some debugging myself, but no luck. I guess I'll go with the local hoogle approach. Should I close? |
Let's leave this open, I want to add a more informative error notification. 😄 |
Neovim version (nvim -v)
0.9.3
Operating system/version
NixOS 24.05
Output of :checkhealth haskell-tools
How to reproduce the issue
:lua require ("haskell-tools").hoogle_signature()
Expected behaviour
Expected telescope to pop up with the hoogle signatures
Actual behaviour
It errors instead.
Log files
The minimal config used to reproduce this issue.
Here is my neovim config
The text was updated successfully, but these errors were encountered: