showing additional source information #932
Unanswered
giuseppe-g-gelardi
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I wanted to check if it's possible—and, if so, how—to display additional source information beyond just showing that it's from the LSP.
For example, I was able to configure nvim-cmp to look like this:
similar to vscode without the auto doc window:
While I don’t have screenshots of other examples, I’ve seen configurations that show file path information alongside items, like this:
fn function_name ...... ~/file/path.ts
This is particularly helpful when there are multiple items with identical or similar names.
In Rust, for instance, I’d love to achieve something like:
[icon] struct HashMap .... std::collections
This way, it’s easier to differentiate between items at a glance.
Is it possible to achieve this kind of setup in nvim-cmp or through any other plugins? Any guidance or tips would be much appreciated!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions