Hi, I encountered a memory leak related to the recent change in commit 5e0804e, where max_width was updated to 0.3.
Steps to reproduce
- In a typescript project using the
vtsls LSP, create a file named required-permissions.decorator.ts.
- Open the file.
- Observe excessive memory consumption, eventually leading to a memory leak.
Workaround
Manually setting max_width = 0 in the config prevents the issue:
{
"j-hui/fidget.nvim",
opts = {
notification = {
window = {
max_width = 0, -- `0` means no maximum width.
},
},
},
},