folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.12k stars 172 forks source link

bug: not use current buffer lsp client #458

Closed mycf closed 1 month ago

mycf commented 1 month ago

Did you check docs and existing issues?

Neovim version (nvim -v)

NVIM v0.11.0-dev-4512+g4b0291633-Homebrew

Operating system/version

macos

Describe the bug

when i in a java file, I tigger Trouble lsp_references,I got

   Warn  22时59分39秒 notify.warn Trouble No results for **lsp_references**
image

Steps To Reproduce

Triggers Trouble lsp_references at the arrow position

image

Expected Behavior

got java references

Repro

No response

folke commented 1 month ago

Before I look into this, can you first make sure you're using the latest HEAD of trouble?