From: Andreas Louv Date: Mon, 3 Apr 2023 00:01:52 +0000 (+0200) Subject: Add helpdocs for ":[count]LspDiagPrev" X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=79f814c7178133f82064f55aff69eb2b37ef425a;p=vim-lsp.git Add helpdocs for ":[count]LspDiagPrev" --- diff --git a/doc/lsp.txt b/doc/lsp.txt index 6a75fbf..91abc46 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -477,8 +477,10 @@ can map these commands to keys and make it easier to invoke them. current position, then the last diagnostic is selected. *:LspDiagPrev* -:LspDiagPrev Jumps to the location of the diagnostic message before - the current cursor position. +:[count]LspDiagPrev Go to the [count] diagnostic message before the current + cursor position. If [count] is omitted, then 1 is used. + If [count] exceeds the number of diagnostics before the + current position, then first last diagnostic is selected. *:LspDiagShow* :LspDiagShow Creates a new location list with the diagnostics