]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Add docs for ":LspDiagCurrent!"
authorAndreas Louv <andreas@louv.dk>
Sun, 2 Apr 2023 23:07:32 +0000 (01:07 +0200)
committerAndreas Louv <andreas@louv.dk>
Sun, 2 Apr 2023 23:40:54 +0000 (01:40 +0200)
doc/lsp.txt

index c699a6627daecc076ba4780eddf0a9ae0b4d915a..5937ce7c1eaba2d20f0d45e4582e08b8a22cd4c6 100644 (file)
@@ -439,6 +439,10 @@ can map these commands to keys and make it easier to invoke them.
                        a popup window.  Otherwise the message is displayed in
                        the status message area.
 
+:LspDiagCurrent!       Only display a diagnostic message if it's directly under
+                       the cursor.  Otherwise works exactly like
+                       |:LspDiagCurrent|
+
                                                *:LspDiagFirst*
 :LspDiagFirst          Jumps to the location of the first diagnostic message
                        for the current file.