Currently, navbuddy scrolls to the selected scope, but doesn't try to maximize how much of it is shown. As such, with scrolloff=0, it scrolls down to view only the first line, but not the rest of a fairly short block. That kind of minimizes the amount of useful information displayed in the text window.
Would it be possible to make this scrolling more intelligent, so that the plugin tries to for example put the first line at the top of the view, and/or makes the entire block visible (if it fits)?
Currently, navbuddy scrolls to the selected scope, but doesn't try to maximize how much of it is shown. As such, with
scrolloff=0
, it scrolls down to view only the first line, but not the rest of a fairly short block. That kind of minimizes the amount of useful information displayed in the text window.Would it be possible to make this scrolling more intelligent, so that the plugin tries to for example put the first line at the top of the view, and/or makes the entire block visible (if it fits)?