trouble.nvim icon indicating copy to clipboard operation
trouble.nvim copied to clipboard

Remove duplicates

Open AdamJSoftware opened this issue 2 years ago • 2 comments

Hello!

Great project, but one minor annoyance (might be something on my end but I still feel that it can be easily addressed here) is the fact that I have multiple of the same errors duplicate. Here is a screenshot below

image

Is there any way to automatically remove these duplicates?

AdamJSoftware avatar Nov 16 '22 16:11 AdamJSoftware

do you have multiple lsp servers attached to the same buffer, each spitting out an error? that sounds more like the actual issue here.

xero avatar Aug 02 '23 18:08 xero

I have the same problem.

If I stop my lsp server (I check there is no more process of it running on my machine) the messages remain in trouble. When I start again my LSP all messages are duplicated. Each time I restart my lsp there is a new line for each message.

I tried to refresh trouble with rand :TroubleRefresh but these commands do nothing.

Do you have any idea how to correct this?

ilourt avatar Jan 26 '24 10:01 ilourt

Development on the main branch is EOL.

Trouble has been rewritten and will be merged in main soon.

This issue/feature either no longer exists or has been implemented on dev.

For more info, see https://github.com/folke/trouble.nvim/tree/dev

folke avatar Mar 29 '24 07:03 folke