dstein64 / nvim-scrollview

A Neovim plugin that displays interactive vertical scrollbars and signs.
MIT License
546 stars 10 forks source link

Account for lines after EOF. #58 #95

Closed dstein64 closed 1 year ago

dstein64 commented 1 year ago

This adds an option to account for lines after EOF (Issue #58), enabled with scrollview_include_end_region. That behavior is consistent with how gvim and nvim-qt (:GuiScrollBar 1) show scrollbars.

The functionality is disabled by default.

The default functionality was also updated so that the scrollbar will overflow beyond the bottom of the window when viewing that end region (https://github.com/dstein64/nvim-scrollview/issues/58#issuecomment-1112586814).