From: Andreas Louv Date: Sun, 5 Mar 2023 22:06:09 +0000 (+0100) Subject: Ignore TypeScript language server custom notification X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9c715c72eaf2d4419cd678274be8d24e83e62510;p=vim-lsp.git 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 --- 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)