]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Add helpdocs for ":[count]LspDiagPrev"
authorAndreas Louv <andreas@louv.dk>
Mon, 3 Apr 2023 00:01:52 +0000 (02:01 +0200)
committerAndreas Louv <andreas@louv.dk>
Mon, 3 Apr 2023 00:52:13 +0000 (02:52 +0200)
doc/lsp.txt

index 6a75fbfb8a688d0323d2e322d5ed6bf0c924918e..91abc465558f9be3add33b8f2b76330c3e653399 100644 (file)
@@ -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