summaryrefslogtreecommitdiff
path: root/nvim/after/plugin/bufferline.lua
blob: 53db4f32e580f216228ab8c5cc7ef08657f80a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
vim.cmd.colorscheme "catppuccin"
vim.opt.termguicolors = true

require("bufferline").setup({
    options = {
        offsets = {
            {
                filetype = "undotree",
                text = "Undo Zone",
                text_align = "center",
                separator = true
            }
        },
        show_buffer_icons = true, -- disable filetype icons for buffers
        separator_style = "thick",
        hover = {
            enabled = true,
            delay = 200,
            reveal = {'close'}
        },
    }
})