-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
Description
Excessive LSP progress Notifications During Typing
fsautocomplete is sending an unthrottled stream of progress LSP notifications to the client (Neovim) immediately following nearly every keystroke, resulting in notification spam and poor user experience.
Steps to Reproduce
- Open an F# file with
fsautocompleterunning. - Type rapidly in the buffer.
Actual Behavior
The editor is flooded with constant progress notifications from fsautocomplete and once they reach the current line, they cover up most of the code and hinder further typing.
Expected Behavior
The server should throttle or debounce $/progress reports to a reasonable interval (e.g.,
Current Workaround
Client-side filtering is required to silence the notifications:
return {
"folke/noice.nvim",
opts = {
routes = {
{
-- fsautocomplete spams with notifications when editing
filter = {
event = "lsp",
kind = "progress",
cond = function(message)
local client = vim.tbl_get(message.opts, "progress", "client")
return client == "fsautocomplete"
end,
},
opts = { skip = true },
},
},
},
}Originally posted by @brokenthorn in #1430