You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to see only lsp loading messages, but recently fidget shows additional messages about diagnosing.
I cannot find the options which can do this. Is there any way to suppress them?
The text was updated successfully, but these errors were encountered:
Previously, messages could only be ignored according to the name of the
LSP server they come from. (Prior to the legacy rewrite, this feature
was part of the user-specified render function. Kind of ugly how that
worked.)
This feature allows messages to be ignored according to logic in
arbitrary user-specified functions.
The slightly yucky thing about this design is that the "shape" of the
message object is not really well-specified or documented. For example,
it is not obvious why we need to check `msg.title` rather than anything
else. The example should be good enough though, at least for now.
Addresses #249
The "Diagnosing" message is specific to an LSP server (in this case, lua_ls).
I just pushed a feature that supports filtering on a per-message basis. You should be able remove those messages with something like:
progress.ignore= { -- NOTE: this is short-hand, not the actual syntax for specifying a nested tablefunction(msg)
returnmsg.lsp_client.name=="lua_ls" andstring.find(msg.title, "Diagnosing")
end,
}
Thank you for your efforts,
I want to see only lsp loading messages, but recently fidget shows additional messages about diagnosing.
I cannot find the options which can do this. Is there any way to suppress them?
The text was updated successfully, but these errors were encountered: