problem: as of neovim/neovim#24824 buf_set_lines adjusts topline differently, which breaks scrolling in the which-key menu. See the discussion in that PR for more info.
solution: save and restore view when rendering to ensure that the render does not change scroll position.
problem: as of neovim/neovim#24824 buf_set_lines adjusts topline differently, which breaks scrolling in the which-key menu. See the discussion in that PR for more info. solution: save and restore view when rendering to ensure that the render does not change scroll position.
fixes #515