When I scroll up and down with ^D and ^U and vim-smoothie enabled, there is a jump when LSP diagnostics appear on the screen and exit the screen. Is there a way to configure lsp_lines so that ^D and ^U scroll the same amount for diagnostics as regular lines?
vim-smoothie works by placing the cursor over individual lines with a small timeout in between, so that the movement ends up being rather smooth rather than a sudden jump.
The jump you see here is because the cursor cannot be placed over diagnostic lines, to jump over them.
Some rather non-trivial integration with vim-smoothie might be possible (it would have to account for virtual lines), but there will always be a jump. I don't think this can be fixed due to how scrolling works on neovim.
Ah, gotcha. Thanks for the explanation!