You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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