Closed ljden closed 4 months ago
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
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.1
Operating system/version
Ubuntu 22.04
Describe the bug
When
hidden
is set tofalse
navigating to a different file from Trouble results in a warning from neovim semantic token engine https://github.com/neovim/neovim/blob/54be7d6b45a9ae51c218c0e5c1c20dd608b97297/runtime/lua/vim/lsp/semantic_tokens.lua#L587Steps To Reproduce
open a file with
nvim -u repro.lua file
gr
on a symbol (that is across multiple files) to open the trouble buffer withlsp_references
listed select a reference in a different file and hit enter. Displays (from my customon_attach
function):Hit enter Displays error:
Expected Behavior
no
[LSP] Client with id 1 not attached to buffer 1
warningRepro