Init commit
This commit is contained in:
25
lua/config/bufferline.lua
Normal file
25
lua/config/bufferline.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
local bufferline = require("bufferline")
|
||||
bufferline.setup({
|
||||
options = {
|
||||
mode = "buffers", -- set to "tabs" to only show tabpages instead
|
||||
style_preset = bufferline.style_preset.no_bold, -- or bufferline.style_preset.minimal,
|
||||
-- separator_style = "slant",
|
||||
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
|
||||
numbers = "ordinal",
|
||||
close_command = "bdelete! %d", -- can be a string | function, | false see "Mouse actions"
|
||||
offsets = {
|
||||
{
|
||||
filetype = "neo-tree",
|
||||
text = "File Explorer",
|
||||
text_align = "center",
|
||||
separator = false,
|
||||
},
|
||||
},
|
||||
indicator = {
|
||||
icon = "", -- this should be omitted if indicator style is not 'icon'
|
||||
style = "underline",
|
||||
},
|
||||
always_show_bufferline = true,
|
||||
diagnostics = "nvim_lsp",
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user