From 132cf62fc72703b8d8622448fdca308cbc0950b3 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Tue, 23 May 2023 07:30:54 -0700 Subject: [PATCH] Ignore the '$/analyzerStatus' notification message from the dart language server --- autoload/lsp/handlers.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/lsp/handlers.vim b/autoload/lsp/handlers.vim index 60f69f3..e213c16 100644 --- a/autoload/lsp/handlers.vim +++ b/autoload/lsp/handlers.vim @@ -106,7 +106,10 @@ export def ProcessNotif(lspserver: dict, reply: dict): void 'language/status', # Typescript language server sends the '$/typescriptVersion' # notification which is not in the LSP specification. - '$/typescriptVersion' + '$/typescriptVersion', + # Dart language server sends the '$/analyzerStatus' notification which + # is not in the LSP specification. + '$/analyzerStatus' ] if lsp_notif_handlers->has_key(reply.method) -- 2.48.1