Skip to content

Commit

Permalink
Ignore unsupported notification messages from ccls language server
Browse files Browse the repository at this point in the history
  • Loading branch information
yegappan committed Feb 5, 2024
1 parent e19b607 commit fb18f22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions autoload/lsp/handlers.vim
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ export def ProcessNotif(lspserver: dict<any>, reply: dict<any>): 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<string> =
[
'$/progress',
Expand All @@ -119,7 +120,10 @@ export def ProcessNotif(lspserver: dict<any>, reply: dict<any>): 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)
Expand Down

0 comments on commit fb18f22

Please sign in to comment.