Skip to content

How can I change the LSP hover background color? #367

Answered by VonHeikemen
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Modify the "highlight group" called NormalFloat.

You can link it to an existing group. I don't know what highlight group nvim-cmp uses in that window. In the documentation they mention one called CmpItemMenu, maybe that works.

vim.api.nvim_set_hl(0, 'NormalFloat', {link = 'CmpItemMenu'})

Or you can set the colors for the background.

vim.api.nvim_set_hl(0, 'NormalFloat', {guibg='#1e1e2e'})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant