Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GiuseppeMP/bf7466992c4c9d6b522656cb557e7e2e to your computer and use it in GitHub Desktop.
Save GiuseppeMP/bf7466992c4c9d6b522656cb557e7e2e to your computer and use it in GitHub Desktop.
bufferline_random
local status, bufferline = pcall(require, "bufferline")
if not status then
return
end
bufferline.setup({
options = {
mode = "tabs",
numbers = "none",
close_icon = false,
left_truc_marker = false,
right_truc_marker = false,
modified_icon = "",
max_name_length = 18,
max_prefix_length = 15,
truncate_names = true,
tab_size = 25,
diagnostics = false,
diagnostics_update_in_insert = false,
color_icons = true,
show_buffer_icons = true,
show_buffer_default_icon = false,
show_buffer_close_icons = false,
show_close_icon = false,
show_tab_indicators = false,
show_duplicate_prefix = true,
separator_style = "slant",
enforce_regular_tabs = true,
always_show_bufferline = true,
highlights = {
fill = { fg = Black, bg = Black },
background = { fg = DarkBlack, bg = DarkBlack },
tab = { fg=Gray, bg=Black, bold=true, italic=true },
tab_selected = { fg=Blue, bold=true, italic=true },
buffer_selected = { fg=Blue, bold=true, italic=true },
buffer_visible = { fg=Gray, bg=Black, bold=true, italic=true },
separator = { fg='#ffffff', bg='#ffffff' },
separator_selected = { fg='#ffffff', bg='#ffffff' },
separator_visible = { fg='#ffffff', bg='#ffffff' },
},
hover = {
enabled = false,
},
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment