Comments (5)
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
from barbar.nvim.
inactive = { separator = { left = '', -- ← this is the fix }, },
This worked, thanks 😊
from barbar.nvim.
Not a fan, don't like forcing users to mess with their config.
from barbar.nvim.
what is your opinion on changing this default before 2.0?
What would be the downside?
from barbar.nvim.
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.
from barbar.nvim.
Related Issues (20)
- [QUESTION]: Group windows inside a single tab? HOT 2
- Closing buffers very quicky causes consistent UI glitch for barbar.nvim HOT 6
- Highlight colors inconsistent between buffers HOT 3
- No devicons for .txt files HOT 14
- Can't get BufferPickDelete working HOT 4
- Buffer ordering not preserved neither in sessions nor with tabs HOT 5
- Buffer order lost when using tiagovla/scope.nvim HOT 2
- A new tab created when opening terminal HOT 5
- Feature "Unique names when filenames match" only works for the second file (repeatable) HOT 3
- Separators missing after opening sidebar HOT 1
- Feature request: order by buffer name HOT 4
- Sidebar filetype not working properly with Neotree HOT 4
- vim.tbl_add_reverse_lookup is deprecated :help deprecated. This feature will be removed in Nvim version 0.12 HOT 2
- Question: Compare with bufferline.nvim? HOT 6
- Question: how to customize/override default highlights? HOT 5
- `vim.tbl_islist` is deprecated
- How to hide the empty buffer after opening a valid one HOT 12
- Delete json buffer cause bug HOT 19
- Bar does not update when switching tabs, deleting buffers, opening buffers, or when buffer is changed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barbar.nvim.