shaunsingh / nord.nvim

Neovim theme based off of the Nord Color Palette, written in lua with tree sitter support
GNU General Public License v2.0
796 stars 107 forks source link

Lsp saga popup menu has a different background color #120

Open ikovac opened 1 year ago

ikovac commented 1 year ago

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

Hierosme commented 1 year ago

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 commented 1 year ago

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

Regards

ikovac commented 1 year ago

Thanks, @Hierosme! I will try it 🚀