From fb18f228960fbac5646480f86dbb394373c44091 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Mon, 5 Feb 2024 08:23:39 -0800 Subject: [PATCH] Ignore unsupported notification messages from ccls language server --- autoload/lsp/handlers.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.48.1