ui_attach
, reading the "redraw" event that then gets sent, and then generating a class from that information.
neovim_lib/mod.rs
in GNvim tremendously, right?
error:
message at the start
CellMetrics
problem, but idk
yea - one down side with that tho' is that when the events change, you need to regenerate everything and backwards compatibility might suffer
This wouldn’t matter all that much if events are only ever added, since the other fields in the structs wouldn’t change. Whoever was using the changed struct(s) would just need to add support for the new fields (if s/he so desired).
lib/src/ui_events.dart
file