Replies: 1 comment 2 replies
-
I was reading the source code, and the following piece of code is located under # process unsupported notification messages
def ProcessUnsupportedNotif(lspserver: dict<any>, reply: dict<any>)
util.WarnMsg($'Unsupported notification message received from the LSP server ({lspserver.name}), message = {reply->string()}')
enddef This is the code sending the warning message that you see. Or, you could try to add the notification that you don't want to see to the following in # process notification messages from the LSP server
export def ProcessNotif(lspserver: dict<any>, reply: dict<any>): void
...
# Explicitly ignored notification messages (many of them are specific to a
# particular language server)
var lsp_ignored_notif_handlers: list<string> =
[
'$/progress',
'$/status/report',
...,
] |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, do you know how I can silence warning messages for unsupported notifications?
Am using it with godot lsp via
netcat
as in:All I need works (completion, jump to definition, etc), but upon connecting to godot lsp I get quite a few warnings:
Would appreciate if there is a method to suppress it. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions