Skip to content
Discussion options

You must be logged in to vote

I guess the problem is not with visualization of added lines, because they are highlighted "in place" (i.e. over real buffer lines). This problem might occur with:

  • A lot of consecutive deleted lines.
  • If there is a mix of changed/deleted/added consecutive lines when linematch can not match lines to break them into more smaller hunks.

Unfortunately, the answer here is that I don't think it is possible to scroll through virtual lines only. Neovim buffers have to show at least one real line in the window (it seems), so scrolling even by a single line (with <C-y> or <C-e>) in this case will scroll from one real line to the other.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.diff
2 participants