summaryrefslogtreecommitdiff
path: root/config/plugin/bufferline.lua
blob: f6e68ef477736a5dc2c25137b51d2f849263d332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if vim.g.did_load_bufferline_plugin then
	return
end
vim.g.did_load_bufferline_plugin = true

require("bufferline").setup({
	options = {
		always_show_bufferline = false,

		diagnostics = "nvim_lsp",

		mode = "buffers",
		numbers = "ordinal",
		separator_style = "slant",

		offsets = {
			{
				filetype = "neo-tree",
				text = "neo-tree",
				highlight = "Directory",
				text_align = "left",
			},
		},
	},
})