Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for nvim-cmp floating menu #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abzcoding
Copy link
Contributor

not sure about the colors though, let me know how do you want them to be
Screen Shot 2021-10-09 at 1 37 39 AM

@NTBBloodbath
Copy link
Owner

Hi, thanks per doing this :)

I think that CmpItemKind looks better in violet (like the default highlight for it), lemme know what do you think :)

image

And don't remember very well but I think Doom Emacs' doom-one highlights the matches in blue 🤔, but I think the rest of stuff is fine :)

@abzcoding
Copy link
Contributor Author

i do agree with CmpItemKind being Violet, it looks better
Screen Shot 2021-10-09 at 11 09 40 AM

@abzcoding
Copy link
Contributor Author

abzcoding commented Oct 9, 2021

and this is with the blue highlight and violet kind
Screen Shot 2021-10-09 at 11 14 20 AM
let me know which one do you prefer

@abzcoding
Copy link
Contributor Author

it supports transparency as well :)
Screen Shot 2021-10-10 at 6 33 37 PM

@kohane27
Copy link

Hello guys. Any update on this? I was exactly looking for this feature.

According to Menu Appearance, I tried to directly add the following but nothing happened:

vim.cmd[[
" gray
highlight! CmpItemAbbrDeprecated guibg=NONE gui=strikethrough guifg=#808080
" blue
highlight! CmpItemAbbrMatch guibg=NONE guifg=#569CD6
highlight! CmpItemAbbrMatchFuzzy guibg=NONE guifg=#569CD6
" light blue
highlight! CmpItemKindVariable guibg=NONE guifg=#9CDCFE
highlight! CmpItemKindInterface guibg=NONE guifg=#9CDCFE
highlight! CmpItemKindText guibg=NONE guifg=#9CDCFE
" pink
highlight! CmpItemKindFunction guibg=NONE guifg=#C586C0
highlight! CmpItemKindMethod guibg=NONE guifg=#C586C0
" front
highlight! CmpItemKindKeyword guibg=NONE guifg=#D4D4D4
highlight! CmpItemKindProperty guibg=NONE guifg=#D4D4D4
highlight! CmpItemKindUnit guibg=NONE guifg=#D4D4D4
]]

@zoedsoupe
Copy link

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants