From: Yegappan Lakshmanan Date: Sat, 4 Mar 2023 15:56:34 +0000 (-0800) Subject: Ignore the $/progress notification message from some language servers X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1bac42a2f3ee01f8a9fa3d41dcdce3f3fb046169;p=vim-lsp.git Ignore the $/progress notification message from some language servers --- diff --git a/autoload/lsp/handlers.vim b/autoload/lsp/handlers.vim index 6adc59c..9098975 100644 --- a/autoload/lsp/handlers.vim +++ b/autoload/lsp/handlers.vim @@ -73,7 +73,7 @@ def ProcessUnsupportedNotifOnce(lspserver: dict, reply: dict) endif enddef -# ignore unsupported notification message +# silently ignore an unsupported notification message def IgnoreNotif(lspserver: dict, reply: dict) enddef @@ -84,7 +84,7 @@ export def ProcessNotif(lspserver: dict, reply: dict): void 'window/showMessage': ProcessShowMsgNotif, 'window/logMessage': ProcessLogMsgNotif, 'textDocument/publishDiagnostics': ProcessDiagNotif, - '$/progress': ProcessUnsupportedNotif, + '$/progress': IgnoreNotif, '$/logTrace': ProcessLogTraceNotif, 'telemetry/event': ProcessUnsupportedNotifOnce, # Java language server sends the 'language/status' notification which is