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 plugin hrsh7th/nvim-cmp #182

Merged
merged 1 commit into from
Mar 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions colors/PaperColor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2277,6 +2277,25 @@ fun! s:apply_syntax_highlightings()
exec 'hi DapUIFloatBorder' . s:fg_blue
endif

" Plugin: hrsh7th/nvim-cmp
if has('nvim')
hi! link CmpItemKindValue Number
hi! link CmpItemKindVariable Identifier
hi! link CmpItemKindKeyword Keyword
hi! link CmpItemKindField CmpItemKindVariable
exec 'hi CmpItemKindFunction' . s:fg_blue
hi! link CmpItemKindMethod CmpItemKindFunction
hi! link CmpItemKindConstructor CmpItemKindFunction
hi! link CmpItemKindClass Structure
hi! link CmpItemKindInterface Structure
exec 'hi CmpItemKindSnippet' . s:fg_orange
exec 'hi CmpItemKindFile' . s:fg_orange
hi! link CmpItemKindFolder CmpItemKindFile
exec 'hi CmpItemAbbrMatch' . s:fg_blue . s:ft_bold
exec 'hi CmpItemAbbrMatchFuzzy' . s:fg_blue . s:ft_bold
exec 'hi CmpItemAbbrDeprecated' . s:fg_foreground . ' gui=strikethrough'
endif

endfun
" }}}

Expand Down