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

Don't include declaration in lsp_references, etc

Open elkowar opened this issue 4 years ago • 2 comments

In most cases, includeDeclaration for requests such as lsp_references is most likely not desired. If one wanted to look at the declaration, one would probably use go to definition. This is especially frustrating when running references on the declaration, as then the item is the one directly under my cursor.

If there is any good reason to keep includeDeclaration set, I'd be nice to have this be configurable somehow!

elkowar avatar Aug 14 '21 16:08 elkowar

same situation here 😄

scc02 avatar May 31 '22 06:05 scc02

Now fixed, This PR add the include_declaration #312

scc02 avatar Jul 31 '23 02:07 scc02

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