-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
nvim-0.3.3 hangs at start with non-existing haskell file #2276
Comments
https://stackoverflow.com/a/12216578/1836507 Follow the steps here and attach a profile log. Usually problems with Vim hanging are caused by other plugins. |
As I mentioned above I used a I also tried:
and the last line printed before hanging is:
Profiling hangs after: Attached is the profile log |
That's the issue. It looks like someone a loop which can run forever. Someone should fix that. |
CC'ing @Luxed as author based on the git log. |
I should have fixed this now. Give it a try. |
Yup that works. Thanks! |
:p woops, my bad, my knowledge of vim script and the weird way HIE works compared to other lsp (I discovered after pushing my changes that HIE scans for the project itself) led to a fix that wasn't as good as I wanted. |
Information
VIM version
NVIM v0.3.3
Build type: Release
LuaJIT 2.0.5
ale is commit 4d426bf
Operating System: Gentoo Linux
What went wrong
When I launch nvim with
nvim path/to/non-existing.hs
, nvim hangs at launch with cpu at 100%.If I disable ale in vim's config file nvim launches normally.
Interestingly it seems to be something specific to haskell since I can't reproduce the same behavior with other languages (tried python, perl, c, bash)
Similarly,
nvim non-existing.hs
also works fine. The non-existingpath/to
makes a difference.Reproducing the bug
/tmp/testrc
is:and
plug
ishttps://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
installed into nvim'sautoload/
.nvim -u /tmp/testrc path/to/nowhere.hs
in urxvt:ALEInfo
The text was updated successfully, but these errors were encountered: