From 6570a141c0de30fccee38e2b10dcd14830624e16 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 24 Oct 2024 07:58:12 +0200 Subject: [PATCH] fix(catppuccin): fix bufferline integration when no colorscheme is set. Closes #4641 --- lua/lazyvim/plugins/colorscheme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/colorscheme.lua b/lua/lazyvim/plugins/colorscheme.lua index 4e63bb75..9087c3ad 100644 --- a/lua/lazyvim/plugins/colorscheme.lua +++ b/lua/lazyvim/plugins/colorscheme.lua @@ -55,7 +55,7 @@ return { "akinsho/bufferline.nvim", optional = true, opts = function(_, opts) - if vim.g.colors_name:find("catppuccin") then + if (vim.g.colors_name or ""):find("catppuccin") then opts.highlights = require("catppuccin.groups.integrations.bufferline").get() end end,