cmp autocompletion and hover border color #170
Answered
by
EliezerAmbion
EliezerAmbion
asked this question in
Q&A
-
Is there a way to change the border color of auto-completion and hover? currently, I have this. return {
'rose-pine/neovim',
name = 'rose-pine',
lazy = false,
priority = 1000,
config = function()
require('rose-pine').setup({
-- @usage 'auto'|'main'|'moon'|'dawn'
variant = 'auto',
--- @usage 'main'|'moon'|'dawn'
dark_variant = 'main',
disable_background = false,
disable_float_background = true,
disable_italics = false,
--- @usage string hex value or named color from rosepinetheme.com/palette
groups = {
background = 'base',
background_nc = '_experimental_nc',
panel = 'base',
panel_nc = 'base',
border = 'gold',
comment = 'muted',
link = 'iris',
punctuation = 'subtle',
error = 'rose',
hint = 'iris',
info = 'foam',
warn = 'gold',
},
-- Change specific vim highlight groups
-- https://github.com/rose-pine/neovim/wiki/Recipes
highlight_groups = {
IndentBlanklineContextChar = {
fg = 'gold',
},
-- Blend colours against the "base" background
CursorLine = { bg = 'foam', blend = 10 },
-- StatusLine = { fg = 'highlight_high', bg = 'love', blend = 10 },
-- ColorColumn = { bg = 'pine' },
}
})
vim.cmd('colorscheme rose-pine')
end
} |
Beta Was this translation helpful? Give feedback.
Answered by
EliezerAmbion
Aug 2, 2023
Replies: 1 comment 1 reply
-
You could try changing require("rose-pine").setup({
highlight_groups = {
FloatBorder = { fg = "rose" }
}
}) If that doesn't work then you'll have to find the proper highlight group that nvim-cmp uses and override that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It turns out I need to add this:
Thanks for the response!