From eb82e6fdc06ddd2c4ee9206177b86bb2776b2cbf Mon Sep 17 00:00:00 2001 From: "mergify[bot]" Date: Tue, 17 Jan 2023 15:54:29 +0000 Subject: [PATCH] Update vim docs --- doc/youcompleteme.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/youcompleteme.txt b/doc/youcompleteme.txt index e909e276f4..894c1121f2 100644 --- a/doc/youcompleteme.txt +++ b/doc/youcompleteme.txt @@ -4015,6 +4015,10 @@ With async diagnostics, LSP servers might send new diagnostics mid-typing. If seeing these new diagnostics while typing is not desired, this option can be set to 0. +When this option is set to '0', diagnostic signs, virtual text and highlights +are cleared when entering insert mode and replaced when leaving insert mode. +This reduces visual noise while editing. + In addition, this option is recommended when |g:ycm_echo_current_diagnostic| is set to 'virtual-text' as it prevents updating the virtual text while you are typing.