mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-24 16:28:22 -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('CmpItemAbbrMatch', c.yellow, '', '', '')
|
||||
hi('CmpItemAbbrMatchFuzzy', c.yellow, '', '', '')
|
||||
hi('CmpItemKind', c.fg, '', '', '')
|
||||
hi('CmpItemMenu', c.fg, '', '', '')
|
||||
hi('CmpItemKind', c.orange, '', '', '')
|
||||
hi('CmpItemMenu', c.blue, '', '', '')
|
||||
|
||||
-- Gitsigns
|
||||
hi('GitSignsAddNr' , c.green , '', '', '')
|
||||
@ -378,7 +378,7 @@ local function highlight_plugins()
|
||||
hi('TelescopeSelection', c.fg, c.grey2, '', '')
|
||||
hi('TelescopeMultiSelection', c.fg, c.grey2, 'bold', '')
|
||||
hi('TelescopeSelectionCaret', c.red, c.grey2, 'bold', '')
|
||||
hi('TelescopeMatching', c.purple, '', 'bold', '')
|
||||
hi('TelescopeMatching', c.yellow, '', 'bold', '')
|
||||
|
||||
-- Neogit
|
||||
hi('NeogitBranch', c.purple, '', '', '')
|
||||
|
@ -10,7 +10,6 @@ function M.cmp_conf()
|
||||
end
|
||||
|
||||
cmp.setup {
|
||||
experimental = {custom_menu = true}, -- Use custom highlightng for the floating completion menu
|
||||
formatting = {
|
||||
format = function(entry, vim_item)
|
||||
local lspkind_icons = {
|
||||
|
@ -81,7 +81,7 @@ return packer.startup(function(use)
|
||||
use {
|
||||
'p00f/nvim-ts-rainbow',
|
||||
after = 'nvim-treesitter',
|
||||
-- Putting config into `treesitter_conf` doesn't work for some reason
|
||||
-- Putting config into `treesitter_conf` doesn't work for some reason
|
||||
config = editor.rainbow_conf
|
||||
}
|
||||
use {
|
||||
|
Loading…
Reference in New Issue
Block a user