Dot_Files/.config/nvim/lua/plugins/bufferline.lua
2022-01-08 15:24:29 -06:00

26 lines
473 B
Lua
Executable File

local present, bufferline = pcall(require, "bufferline")
if not present then
return
end
bufferline.setup {
options = {
numbers = function(opts)
return string.format("%s", opts.id)
end,
diagnostics = "nvim_lsp",
offsets = {
{
filetype = "NvimTree",
text = "File Explorer",
highlight = "Directory",
text_align = "left"
},
{
filetype = "vista",
text = "LspTags",
}
}
}
}