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

Remove "no results" warning

Open ii14 opened this issue 5 years ago • 5 comments

Hey, I don't see any way to silence the [Trouble] no results message. Should this really be a warning anyway?

ii14 avatar Aug 24 '21 13:08 ii14

I created a PR #89 that prevents the message when auto close is enabled. I'm not sure if that's sufficient in all cases, but that's where I found the message to be distracting.

jnalley avatar Sep 03 '21 15:09 jnalley

I feel that this message should appear only (if ever) when you're opening the window for the first time, kinda like when quickfix throws an error when there's no items. No errors in your code should not be a warning :) I don't use the auto close option, so that's not going to work for me.

ii14 avatar Sep 03 '21 22:09 ii14

No errors in your code should not be a warning :)

Yeah, I agree. Perhaps the warning could just be removed entirely.

jnalley avatar Sep 03 '21 23:09 jnalley

We still don't have this feature added yet. Can I completely remove this warning message? For example, the warning message will show when navigating to another buffer who has no results.

wookayin avatar Jan 21 '22 22:01 wookayin

Requested in #100, #154

wookayin avatar Jan 26 '22 17:01 wookayin