nvim.nix/nvim/plugin/bufferline.lua

27 lines
686 B
Lua

if not vim.g.did_load_catppuccin_plugin then
require("bufferline").setup{}
return
end
if vim.g.did_load_bufferline_plugin then
return
end
vim.g.did_load_bufferline_plugin = true
local mocha = require("catppuccin.palettes").get_palette "mocha"
require("bufferline").setup {
highlights = require("catppuccin.groups.integrations.bufferline").get {
styles = { "italic", "bold" },
custom = {
all = {
fill = { bg = "#000000" },
},
mocha = {
background = { fg = mocha.text },
},
latte = {
background = { fg = "#000000" },
},
},
},
}