From 9c715c72eaf2d4419cd678274be8d24e83e62510 Mon Sep 17 00:00:00 2001 From: Andreas Louv Date: Sun, 5 Mar 2023 23:06:09 +0100 Subject: [PATCH] Ignore TypeScript language server custom notification Ignore the "$/typescriptVersion" custom notification send by this language server: https://github.com/typescript-language-server/typescript-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 9098975..5486969 100644 --- a/autoload/lsp/handlers.vim +++ b/autoload/lsp/handlers.vim @@ -89,7 +89,10 @@ export def ProcessNotif(lspserver: dict, reply: dict): void 'telemetry/event': ProcessUnsupportedNotifOnce, # Java language server sends the 'language/status' notification which is # not in the LSP specification - 'language/status': IgnoreNotif + 'language/status': IgnoreNotif, + # Typescript language server sends the '$/typescriptVersion' notification + # which is not in the LSP specification + '$/typescriptVersion': IgnoreNotif } if lsp_notif_handlers->has_key(reply.method) -- 2.48.1