NTBBloodbath / doom-one.nvim

doom-emacs' doom-one Lua port for Neovim
MIT License
211 stars 32 forks source link

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

Open abzcoding opened 3 years ago

abzcoding commented 3 years ago

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 commented 3 years ago

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 :thinking:, but I think the rest of stuff is fine :)

abzcoding commented 3 years ago

i do agree with CmpItemKind being Violet, it looks better

Screen Shot 2021-10-09 at 11 09 40 AM
abzcoding commented 3 years ago

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 commented 3 years ago

it supports transparency as well :)

Screen Shot 2021-10-10 at 6 33 37 PM
kohane27 commented 2 years ago

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 commented 1 year ago

Any updates on this?