thread 'main' panicked at 'failed to decode redraw notification: Syntax("error while decoding value: invalid length 5, expected fewer elements in array")', ui/src/components/appwindow/imp.rs:84:26
Results in a near-blank black screen loading.
Digging deeper, this seems to be a deserialization issue with one of the UIEvents. specifically the grid_line event in lib/nvim-rs/src/types/gen.rs:574 where it tries to deserialize the event to a GridLine struct.
The issue seems to be the wrap parameter (bool) which may have been introduced recently (doc here).
Adding a pub wrap: bool to the GridLine struct seems to solve the issue and the build works as expected.
Running gnvim on Pop!_OS 22.04 LTS with nvim:
Getting the following error:
Results in a near-blank black screen loading.
Digging deeper, this seems to be a deserialization issue with one of the UIEvents. specifically the
grid_line
event inlib/nvim-rs/src/types/gen.rs:574
where it tries to deserialize the event to aGridLine
struct.The issue seems to be the
wrap
parameter (bool) which may have been introduced recently (doc here).Adding a
pub wrap: bool
to theGridLine
struct seems to solve the issue and the build works as expected.Submitting a pull request.