From: Yegappan Lakshmanan Date: Mon, 5 Feb 2024 16:23:39 +0000 (-0800) Subject: Ignore unsupported notification messages from ccls language server X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=fb18f228960fbac5646480f86dbb394373c44091;p=vim-lsp.git Ignore unsupported notification messages from ccls language server --- diff --git a/autoload/lsp/handlers.vim b/autoload/lsp/handlers.vim index 2058c77..ca5741c 100644 --- a/autoload/lsp/handlers.vim +++ b/autoload/lsp/handlers.vim @@ -94,7 +94,8 @@ export def ProcessNotif(lspserver: dict, reply: dict): void 'telemetry/event': ProcessUnsupportedNotifOnce, } - # Explicitly ignored notification messages + # Explicitly ignored notification messages (many of them are specific to a + # particular language server) var lsp_ignored_notif_handlers: list = [ '$/progress', @@ -119,7 +120,10 @@ export def ProcessNotif(lspserver: dict, reply: dict): void 'pyright/endProgress', 'eslint/status', 'taplo/didChangeSchemaAssociation', - 'sqlLanguageServer.finishSetup' + 'sqlLanguageServer.finishSetup', + # ccls language server notifications + '$ccls/publishSkippedRanges', + '$ccls/publishSemanticHighlight', ] if lsp_notif_handlers->has_key(reply.method)