shaunsingh / nord.nvim

Neovim theme based off of the Nord Color Palette, written in lua with tree sitter support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lsp saga popup menu has a different background color

ikovac opened this issue · 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

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

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

Regards

Thanks, @Hierosme! I will try it 🚀