summaryrefslogtreecommitdiff
path: root/plugins/bufferline.lua
blob: 5ec89e52d16483a5ae9c9f00385f7e54d76dec42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
return function()
	require("bufferline").setup({
		options = {
			always_show_bufferline = false,
			highlights = require("catppuccin.groups.integrations.bufferline").get(),
			diagnostics = "nvim_lsp",
			mode = "buffers",
			numbers = "ordinal",
			separator_style = "slant",
			offsets = {
				{
					filetype = "neo-tree",
					text = "neo-tree",
					highlight = "Directory",
					text_align = "left",
				},
			},
		},
	})
end