From e61a2aec0988a3aef5251be21ac2431da07accfb Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Wed, 6 Jan 2021 07:41:50 -0800 Subject: [PATCH] When new diagnostics is received, clear signs only for a specific buffer --- autoload/buf.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/buf.vim b/autoload/buf.vim index 5410310..fcbc51f 100644 --- a/autoload/buf.vim +++ b/autoload/buf.vim @@ -17,7 +17,7 @@ export def LspDiagsUpdated(lspserver: dict, bnr: number) endif # Remove all the existing diagnostic signs - sign_unplace('LSPDiag') + sign_unplace('LSPDiag', {buffer: bnr}) if lspserver.diagsMap[bnr]->empty() return -- 2.48.1