We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I set transparent_background = false in catppuccin setup.
transparent_background = false
I set the same color highlight(StatusLine), but the background is not same.
lualine_b = { { "filetype", icon_only = true, colored = true, color = "StatusLine", }, { "filename", color = "StatusLine", }, { "branch", icon = "", color = { fg = "#c296eb" }, }, { "diff", colored = true, symbols = { added = "", modified = "", removed = "", }, color = "StatusLine", },
I already set lualine integrate with catppuccin
lualine.setup({ options = { ... theme = "catppuccin", }, })
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478
kitty 0.35.0
catppuccin v1.7.0
transparent_background = true
the background's color is different.
the background's color is identical
1. lazy set { "catppuccin/nvim", name = "catppuccin" }, 2. catppuccin set require("catppuccin").setup({ flavour = "frappe", -- latte, frappe, macchiato, mocha -- flavour = "auto" -- will respect terminal's background background = { -- :h background light = "latte", dark = "mocha", }, transparent_background = true, -- disables setting the background color. show_end_of_buffer = false, -- shows the '~' characters after the end of buffers term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) dim_inactive = { enabled = false, -- dims the background color of inactive window shade = "dark", percentage = 0.15, -- percentage of the shade to apply to the inactive window }, no_italic = false, -- Force no italic no_bold = false, -- Force no bold no_underline = false, -- Force no underline styles = { -- Handles the styles of general hi groups (see `:h highlight-args`): comments = { "italic" }, -- Change the style of comments conditionals = { "italic" }, loops = {}, functions = {}, keywords = {}, strings = {}, variables = {}, numbers = {}, booleans = {}, properties = {}, types = {}, operators = {}, -- miscs = {}, -- Uncomment to turn off hard-coded styles }, color_overrides = {}, custom_highlights = {}, integrations = { cmp = true, gitsigns = true, nvimtree = true, treesitter = true, notify = true, dashboard = true, mini = { enabled = true, indentscope_color = "", }, bufferline = true, -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations) }, }) -- setup must be called before loading vim.cmd.colorscheme "catppuccin" 3. lualine set local statue, lualine = pcall(require, "lualine") if not statue then return end local lspStatus = { function() local msg = "No Active Lsp" local buf_ft = vim.api.nvim_buf_get_option(0, "filetype") local clients = vim.lsp.get_active_clients() if next(clients) == nil then return msg end for _, client in ipairs(clients) do local filetypes = client.config.filetypes if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then return client.name end end return msg end, color = "StatusLine", } local layout = { lualine_a = { { function() return "" end, separator = { left = "", right = "" }, }, }, lualine_b = { { "filetype", icon_only = true, colored = true, color = "StatusLine", }, { "filename", color = "StatusLine", }, { "branch", icon = "", color = { fg = "#c296eb" }, }, { "diff", colored = true, symbols = { added = "", modified = "", removed = "", }, color = "StatusLine", }, }, lualine_c = { { function() return "" end, color = { bg = "#8FCDA9", fg = "#121319" }, separator = { left = "", right = "" }, }, { "diagnostics", sources = { "nvim_lsp" }, sections = { "info", "error", "warn", "hint", }, diagnostic_color = { error = { fg = "#820e2d", bg = "#0f111a" }, warn = { fg = "DiagnosticWarn", bg = "#0f111a" }, info = { fg = "DiaganosticInfo", bg = "#0f111a" }, hint = { fg = "#92CDE7", bg = "#0f111a" }, }, colored = true, update_in_insert = true, always_visible = false, symbols = { error = " ", warn = " ", hint = " ", info = " ", }, }, }, lualine_x = { lspStatus }, lualine_y = {}, lualine_z = { { "filesize", color = "StatusLine", }, { function() return "" end, separator = { left = "", right = "" }, }, { "progress", color = "StatusLine", }, { function() return "" end, separator = { left = "", right = "" }, }, { "location", color = "StatusLine", }, { function() return "" end, separator = { left = "", right = "" }, }, }, } local no_layout = { lualine_a = {}, lualine_b = {}, lualine_c = {}, lualine_x = {}, lualine_y = {}, lualine_z = {}, } lualine.setup({ sections = layout, inactive_sections = no_layout, options = { icons_enabled = true, globalstatus = false, disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline"}, always_divide_middle = true, theme = "catppuccin", }, })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I set
transparent_background = false
in catppuccin setup.I set the same color highlight(StatusLine), but the background is not same.
I already set lualine integrate with catppuccin
Neovim version
Terminal and multiplexer
kitty 0.35.0
Catppuccin version / branch / rev
catppuccin v1.7.0
Steps to reproduce
transparent_background = true
for catppuccin setup.Expected behavior
the background's color is different.
Actual behavior
the background's color is identical
Repro
The text was updated successfully, but these errors were encountered: