From: Yegappan Lakshmanan Date: Wed, 6 Jan 2021 15:41:50 +0000 (-0800) Subject: When new diagnostics is received, clear signs only for a specific buffer X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e61a2aec0988a3aef5251be21ac2431da07accfb;p=vim-lsp.git When new diagnostics is received, clear signs only for a specific buffer --- 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