nord.nvim icon indicating copy to clipboard operation
nord.nvim copied to clipboard

Lsp saga popup menu has a different background color

Open ikovac opened this issue 2 years ago • 3 comments

When I open lspsaga popup window: Lspsaga peek_definition it opens with different background color (screenshot below)

Normal background color: Screenshot 2022-11-14 at 14 26 08

The background color of the popup window Screenshot 2022-11-14 at 14 26 47

How it should be (happens when that file buffer is already loaded): Screenshot 2022-11-14 at 14 27 50

My nvim config: https://github.com/ikovac/dotfiles

colorscheme.lua file

local status, _ = pcall(vim.cmd, "colorscheme nord")
if not status then
	print("Colorscheme not found!")
	return
end

vim.g.nord_italic = false
vim.g.nord_contrast = false
vim.g.nord_borders = true
vim.g.nord_bold = false

options.lua

vim.opt.termguicolors = true
vim.opt.background = "dark"

Am I doing something wrong? It seems to me like nord_contrast is not working as expected. Also when I go into that file after I open it inside the popup like shown above, I don't see line numbers anymore or color column and sign column

I am using nvim version 0.8

ikovac avatar Nov 14 '22 13:11 ikovac

i have strange effect with saga too. The setting look complete, then i have go away, i'll take a look.

actually the Nord palette recommand a lood dark as background, so i'll force the bg to nord0 (if not transparency)

Regards

Hierosme avatar Dec 13 '22 19:12 Hierosme

I have succeffully reproduce the trouble and that normly fixe by never let LSPSaga think about it own background color.

Regards

Hierosme avatar Dec 17 '22 10:12 Hierosme

Thanks, @Hierosme! I will try it 🚀

ikovac avatar Dec 19 '22 15:12 ikovac