]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Add helpdocs for ":LspDiagLast"
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 01:04:09 +0000 (03:04 +0200)
doc/lsp.txt

index 91abc465558f9be3add33b8f2b76330c3e653399..146c4905e987238496d185707c486f7d5cae5c5b 100644 (file)
@@ -80,6 +80,8 @@ The following commands are provided:
                        for the current Vim session.
 :LspDiagHighlightEnable        Enable highlighting lines with a diagnostic message
                        for the current Vim session.
+:LspDiagLast           Jump to the last diagnostic message for the current
+                       buffer.
 :LspDiagNext           Jump to the next diagnostic message for the current
                        buffer after the current cursor position.
 :LspDiagPrev           Jump to the previous diagnostic message for the current
@@ -470,6 +472,10 @@ can map these commands to keys and make it easier to invoke them.
                        for the current Vim session.  Note that highlighting
                        lines with a diagnostic message is enabled by default.
 
+                                               *:LspDiagLast*
+:LspDiagLast           Jumps to the location of the first diagnostic message
+                       for the current file.
+
                                                *:LspDiagNext*
 :[count]LspDiagNext    Go to the [count] diagnostic message after the current
                        cursor position.  If [count] is omitted, then 1 is used.