Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lsp saga popup menu has a different background color #120

Open
ikovac opened this issue Nov 14, 2022 · 3 comments
Open

Lsp saga popup menu has a different background color #120

ikovac opened this issue Nov 14, 2022 · 3 comments

Comments

@ikovac
Copy link

ikovac commented Nov 14, 2022

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
Copy link
Contributor

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 pushed a commit to Hierosme/nord.nvim that referenced this issue Dec 17, 2022
… color to nord Aurora palette requirements
@Hierosme
Copy link
Contributor

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

Regards

@ikovac
Copy link
Author

ikovac commented Dec 19, 2022

Thanks, @Hierosme! I will try it 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants