doc/lsp.txt | 6 ++++-- diff --git a/doc/lsp.txt b/doc/lsp.txt index 539fc2fc13c4e276122d25423ef389046437f6b4..6a75fbfb8a688d0323d2e322d5ed6bf0c924918e 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -471,8 +471,10 @@ for the current Vim session. Note that highlighting lines with a diagnostic message is enabled by default. *:LspDiagNext* -:LspDiagNext Jumps to the location of the diagnostic message after - the current cursor position. +:[count]LspDiagNext Go to the [count] diagnostic message after the current + cursor position. If [count] is omitted, then 1 is used. + If [count] exceeds the number of diagnostics after the + current position, then the last diagnostic is selected. *:LspDiagPrev* :LspDiagPrev Jumps to the location of the diagnostic message before