]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Ignore the '$/analyzerStatus' notification message from the dart language server
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 23 May 2023 14:30:54 +0000 (07:30 -0700)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 23 May 2023 14:30:54 +0000 (07:30 -0700)
autoload/lsp/handlers.vim

index 60f69f3e9a735b8f2abeb06ceab431c8b211b19c..e213c16227f87c6b5e85683268b74b36de120ee2 100644 (file)
@@ -106,7 +106,10 @@ export def ProcessNotif(lspserver: dict<any>, reply: dict<any>): 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)