-
Notifications
You must be signed in to change notification settings - Fork 68
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
Gnvim is broken for nvim 0.9+ #206
Comments
Which nvim version are you using? Latest I've used gnvim with is 0.8.3. There could be some changes to newer versions of nvim that gnvim fails to handle. |
It's version 0.10.0, compiled from the main branch
|
Same problem here for neovim 0.9.0 (latest stable), I managed to work around by defaulting the value of |
The issue is with gnvim not respecting this part of the api contract that neovim sets:
The easy fix is to regenerate the API types and break gnvim for previous versions of neovim, but the more involved fix is to implement custom serde deserializer that knows how to ignore extra fields. I'm leaning towards only supporting nvim 0.9+ since it contains updated API for making smooth scrolling better (hopefully). |
Hmm, I got a similar error, but I'm using the stock neovim from Ubuntu 22.10 repository that ships neovim 0.7.2. Maybe it would be good to have a message saying the version is not compatible, instead of a kind-of-crash. |
I was thinking of adding a version check, but didn't get around to it yet. The updated nvim version requirement is documented on the readme. |
I wanted to try gnvim out and cloned the repo.
However, when launching gnvim from a command line, all I get is an empty, white window.
Launching gnvim from a terminal prints:
Is there a way to fix this?
The text was updated successfully, but these errors were encountered: