micangl / cmp-vimtex

Vimtex source for nvim-cmp.
MIT License
87 stars 5 forks source link

Hide package details, show symbols #25

Closed Kayzels closed 3 months ago

Kayzels commented 5 months ago

Is there any way to hide the details that say which source the command comes from, but keep symbols showing? At the moment, I've disabled menu entirely for cmp-vimtex, because it makes the cmp dropdown a lot larger because of the information showing me which package a command comes from. I tried to disable that using info_in_menu = false, and while it hides some information, the source still shows. If I type something like \forall, it shows [cmd: default] ∀. I'd like to just see the ∀, without it telling me the package.

Would this be achievable at all, or require a significant rewrite or config change?

micangl commented 3 months ago

I've added the origin_in_menu option.