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

Noice integration #555

Closed
Sacro opened this issue Jul 25, 2023 · 1 comment · Fixed by #556
Closed

Noice integration #555

Sacro opened this issue Jul 25, 2023 · 1 comment · Fixed by #556
Labels
bug Something isn't working

Comments

@Sacro
Copy link

Sacro commented Jul 25, 2023

Description

Some things like the LSP status don't look right with transparent background enabled

Neovim version

NVIM v0.10.0-dev-713+gf2ce31d3d                                                                                                                                                             
Build type: RelWithDebInfo                                                                                                                                                                  
LuaJIT 2.1.0-beta3                                                                                                                                                                          
Run "nvim -V1 -v" for more info

Terminal and multiplexer

Wezterm 20230712.072601.f4abf8fd-1

Catppuccin version / branch / rev

main

Steps to reproduce

Set transparent_background to true, and noice configured.

Open a project and look at the LSP launch info

Expected behavior

Background should be transparent

Actual behavior

Background is black.

Repro

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
	vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
	{
		"catppuccin/nvim",
		config = function()
			require("catppuccin").setup({
				integrations = {
					noice = true,
				},
				transparent_background = true,
			})
		end,
	},
	{
		"folke/noice.nvim",
		config = function()
			require("noice").setup()
		end,
		dependencies = {
			"MunifTanjim/nui.nvim",
		},
	},
}
require("lazy").setup(plugins, {
	root = root .. "/plugins",
})

vim.cmd.colorscheme("catppuccin")
-- add anything else here

nvim -u repro.lua repro.lua, :wq to save, bottom right corner, should be transparent

@Sacro Sacro added the bug Something isn't working label Jul 25, 2023
@mrtnvgr

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants