Closed ThaiDuy12345 closed 2 months ago
When re-implementing the icons
option in #386, we had to preserve an independent default with icons.inactive.separator.left
for backwards compatibility. In the short term, you can fix this with something like this:
--[[ minimal.lua ]]
vim.opt.rtp:prepend {
vim.fn.stdpath('data') .. '/lazy/barbar.nvim',
}
vim.g.barbar_auto_setup = false
require('barbar').setup {
icons = {
filetype = { enabled = false },
separator_at_end = false,
separator = { left = '', right = '' },
inactive = {
separator = {
left = '', -- ← this is the fix
},
},
},
}
Run the above with nvim --clean -u minimal.lua
to try it out without modifying your configuration. Adding the noted option above to your configuration should also produce the desired behavior.
@romgrk what is your opinion on changing this default before 2.0? We've had similar reports to this previously (#419, #513), so it seems to be a common pain point
inactive = { separator = { left = '', -- ← this is the fix }, },
This worked, thanks 😊
what is your opinion on changing this default before 2.0?
What would be the downside?
What would be the downside?
The only one that comes to mind is that some users may have to adjust their configurations to get the results they saw previously.
Not a fan, don't like forcing users to mess with their config.
Description
Inactive buffer still have some separators at the end when I have delete all separator
My config:
Steps to reproduce the behavior: Just open some new buffers with the above config
Screenshots
Informations Neovim version: 0.9.5