mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00

Some parts of LSP need to use cached diagnostics as sent from the LSP server unmodified. Rather than fixing invalid line numbers when diagnostics are first set, fix them when they are displayed to the user (e.g. in show() or one of the get_next/get_prev family of functions).