From 71ed8d9d651774e4a52daf3eaf72952bd9177b3f Mon Sep 17 00:00:00 2001 From: Andreas Louv Date: Mon, 3 Apr 2023 02:01:52 +0200 Subject: [PATCH] Add helpdocs for ":[count]LspDiagNext" --- doc/lsp.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/lsp.txt b/doc/lsp.txt index 539fc2f..6a75fbf 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -471,8 +471,10 @@ can map these commands to keys and make it easier to invoke them. 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 -- 2.48.1