barbar.nvim
barbar.nvim copied to clipboard
[Discussion] Default separator style.
Looking at my config:
Using the separator on the right, character: ▕
The separator (Sign) color is the same of the active background.
It looks more clean then the current default. Is worth setting this as default for barbar?
Based on vscode separator style:
My full setup:
require('bufferline').setup({
hide = {extensions = true},
icons = {
-- Configure the base icons on the bufferline.
buffer_index = false,
buffer_number = false,
button = '',
-- Enables / disables diagnostic symbols
diagnostics = {
[vim.diagnostic.severity.ERROR] = {enabled = true, icon = 'ff'},
[vim.diagnostic.severity.WARN] = {enabled = false},
[vim.diagnostic.severity.INFO] = {enabled = false},
[vim.diagnostic.severity.HINT] = {enabled = false},
},
filetype = {
-- Sets the icon's highlight group.
-- If false, will use nvim-web-devicons colors
custom_colors = false,
-- Requires `nvim-web-devicons` if `true`
enabled = true,
},
separator = {left = '', right = '▕'},
-- Configure the icons on the bufferline when modified or pinned.
-- Supports all the base icon options.
modified = {button = '●'},
pinned = {buffer_index = true, filename = true, button = '', separator = { right = '▕', left = ''} },
-- Configure the icons on the bufferline based on the visibility of a buffer.
-- Supports all the base icon options, plus `modified` and `pinned`.
alternate = {filetype = {enabled = false}},
current = {buffer_index = false},
inactive = {button = '', separator = {left = '', right = '▕'}},
visible = {modified = {buffer_number = false}},
},
sidebar_filetypes = {
['neo-tree'] = {event = 'BufWipeout'},
},
-- icon_pinned = '',
exclude_ft = {'netrw'},
-- closable = false,
highlight_visible = false,
})
Related: #141. I've been thinking about (after we release 1.6) to create configuration "presets" that users can use