mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
neovim: make completion menu more colorful
Also change Telescope match highlight to be the same as nvim-cmp
This commit is contained in:
parent
c9941850a2
commit
7991b12511
@ -304,8 +304,8 @@ local function highlight_plugins()
|
|||||||
hi('CmpItemAbbr', c.fg, '', '', '')
|
hi('CmpItemAbbr', c.fg, '', '', '')
|
||||||
hi('CmpItemAbbrMatch', c.yellow, '', '', '')
|
hi('CmpItemAbbrMatch', c.yellow, '', '', '')
|
||||||
hi('CmpItemAbbrMatchFuzzy', c.yellow, '', '', '')
|
hi('CmpItemAbbrMatchFuzzy', c.yellow, '', '', '')
|
||||||
hi('CmpItemKind', c.fg, '', '', '')
|
hi('CmpItemKind', c.orange, '', '', '')
|
||||||
hi('CmpItemMenu', c.fg, '', '', '')
|
hi('CmpItemMenu', c.blue, '', '', '')
|
||||||
|
|
||||||
-- Gitsigns
|
-- Gitsigns
|
||||||
hi('GitSignsAddNr' , c.green , '', '', '')
|
hi('GitSignsAddNr' , c.green , '', '', '')
|
||||||
@ -378,7 +378,7 @@ local function highlight_plugins()
|
|||||||
hi('TelescopeSelection', c.fg, c.grey2, '', '')
|
hi('TelescopeSelection', c.fg, c.grey2, '', '')
|
||||||
hi('TelescopeMultiSelection', c.fg, c.grey2, 'bold', '')
|
hi('TelescopeMultiSelection', c.fg, c.grey2, 'bold', '')
|
||||||
hi('TelescopeSelectionCaret', c.red, c.grey2, 'bold', '')
|
hi('TelescopeSelectionCaret', c.red, c.grey2, 'bold', '')
|
||||||
hi('TelescopeMatching', c.purple, '', 'bold', '')
|
hi('TelescopeMatching', c.yellow, '', 'bold', '')
|
||||||
|
|
||||||
-- Neogit
|
-- Neogit
|
||||||
hi('NeogitBranch', c.purple, '', '', '')
|
hi('NeogitBranch', c.purple, '', '', '')
|
||||||
|
@ -10,7 +10,6 @@ function M.cmp_conf()
|
|||||||
end
|
end
|
||||||
|
|
||||||
cmp.setup {
|
cmp.setup {
|
||||||
experimental = {custom_menu = true}, -- Use custom highlightng for the floating completion menu
|
|
||||||
formatting = {
|
formatting = {
|
||||||
format = function(entry, vim_item)
|
format = function(entry, vim_item)
|
||||||
local lspkind_icons = {
|
local lspkind_icons = {
|
||||||
|
Loading…
Reference in New Issue
Block a user