piersolenski / wtf.nvim

Delicious diagnostic debugging in Neovim 🤤
400 stars 9 forks source link

No diagnostics found! #10

Closed TBBtianbaoboy closed 1 year ago

TBBtianbaoboy commented 1 year ago

That is why?

piersolenski commented 1 year ago

The Wtf command will show this message if using it on a line or visual selection with no diagnostics, or if there is no LSP attached for the current buffer. Feel free to comment with more information if that's not the case!

karismatic-megafauna commented 11 months ago

I'm getting this issue as well!

I believe it's because I am still using CoC to set up / install / manage my LSPs.

Here is my editor showing a diagnostics: image

image

But when i do gw or :WtfSearch or :Wtf I get:

No diagnostics found!

piersolenski commented 11 months ago

Unfortunately Wtf works using the native Neovim LSP support and thus does will not work with CoC, it's definitely worth making the switch though!