-
Notifications
You must be signed in to change notification settings - Fork 144
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
Neovim crashes after updating to v0.8.0 #683
Comments
I'm getting the same thing 😢
|
Update LazyVim to latest if you guys are using that. |
@quebn I'm on the latest Lazy.nvim and LazyVim
|
here's my
|
Im not using LazyVim but you could try to delete the blink.cmp directory in ~/.local/share/nvim/lazy and try to install blink.cmp again thats what worked for me, the problem might have something to do with some files within the blink.cmp (might be the binary), not being updated when updating to a new version. |
@quebn cheers mate! that did it for me! |
@quebn 's solution worked for me as well to fix my neovim crash. |
I'm not using any distros just plain neovim with lazy.nvim as a plugin manager. I have lazy.nvim plugin as the latest version and I've completely removed the blink.cmp directory and reinstalled it again but v0.8 seems to be still breaking nvim with the same errors above. |
make sure you've set blink version to v0.8 in your config first before removing the directory and installing it again. |
Here are the steps I've done:
|
could you try waiting for the pre-built binary to finish downloading before doing anything and see what happens? |
Still nothing changes... :( |
Same thing here, OK: return {
'saghen/blink.cmp',
-- optional: provides snippets for the snippet source
dependencies = 'rafamadriz/friendly-snippets',
} NOT-OK: return {
'saghen/blink.cmp',
-- optional: provides snippets for the snippet source
dependencies = 'rafamadriz/friendly-snippets',
opts = {}
} |
If I know correctly, removing opts prevents the plugin from starting properly (like calling require(...).setup({}) which is why it works since blink isn't being configured then. |
Duplicate of #68 |
I'm hopeful this won't be an issue for future versions due to some new checksum checks, but I'll re-open that issue if it is |
I have checked the previous issue before submitting this one and the "solutions" mentioned there didn't work either. Especially that the rest of the discussion there was about a different OS (I'm using Ubuntu 24.04 LTS) and a different blink release. I'm not sure if I'm missing something here. |
Additional info / tries:
Still doesn't work. |
It seems like you have the same issue as #685 (comment), where |
Wrapping it in pcall seems to resolve the startup issue, but this one related to ctags is still broken for some reason which happens whenever I'm in insert mode: |
This might be unrelated to blink since we should report the error differently. Are you able to reproduce the error on old versions (i.e. |
I'm also getting this error on a fresh install of LazyVim with all configs and locals removed when I run
OS: MacOS 15.2 |
That error is a red herring, it's fixed on main but it's not causing any issues |
It seems to work just fine with v0.7.6 when editing lua files (I have ctags-lsp.nvim setup to only work on lua files. P.S. I've also posted an issue on ctags-lsp.nvim repo in case they have something to do with it even tho it definitely breaks with the new v0.8 update. But I'll report back on that when I get something from them. Oh and btw I also get the same error on healthcheck, forgot to mention earlier. |
I also experienced this issue (nvim crashing right after completion was initiated) yesterday. The issue disappeared after I uninstalled the plugin, reinstalled it, and gave the computer a good hard hit. I’m glad the old tricks still work with nvim. |
Author of ctags-lsp here. The "Method not found" error was me. I didn't handle the "$/cancelRequest" request, which blink.cmp didn't send before. This is fixed in v0.6.1. |
Seems like everything now is working more or less as expected. Thank you everyone and happy holidays! |
Make sure you have done the following
blink.cmp
Bug Description
I've just updated blink.cmp to the latest release (v0.8.0) And immediately it crashes causing all kind of issues.
Example of one of the errors once I open
nvim .
with Oil.When I try to run :checkhealth
And so many different errors scattered around when I try to use nvim in general. even ctags_lsp for some reason:
P.S. It's my first time submitting a bug report on Github so sorry if I'm missing something / not doing it correctly.
For the time being I had to revert back to v0.7.6 until this is resolved so nvim is usable.
Relevant configuration
neovim version
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068
blink.cmp
version: branch, tag, or commitv0.8.0
The text was updated successfully, but these errors were encountered: