Comments (2)
Hi @LimbicSys, tbh I'm not sure entirely what to do here since this works on both linux and macos, or rather I haven't gotten any issues and I run it in both. I think the issue is more related to how specific terminal emulators handle drawing certain characters as your example show it works in vscode's terminal but not in the windows one.
I try to change the code to move the white space right before the filename to the position right after the icon
If you got a PR working for you can you raise it for me to have a look. The plugin keeps track of the size of buffer and it's content so changing the content might cause the size to be miscalculated, but it sounds like you've just reshuffled some spaces. Anyway if you PR what work's for you I'll test it to make sure nothing else breaks and if not will merge it.
from bufferline.nvim.
Yeah, this is an issue with Windows Terminal itself. I'm pretty sure it is because it draws the characters strictly from left to right, but do not quote me on that. There might be some hacky workarounds like using the non-breaking space character 0x00A0
, but I'm not sure that would be applicable here. I was able to use a hack like that when mixing double-width characters and winblend.
from bufferline.nvim.
Related Issues (20)
- [Feature Request]: fire user event on pin buffer HOT 8
- [Bug]: custom separators not using separator_selected highlight as they should and not being at very start or end of bufferline. HOT 1
- [Bug]: E5108: Error executing lua: attempt to get length of field 'text' (a nil value) HOT 2
- [Feature Request]: Expose buffer index HOT 1
- [Feature Request]: Persistent `:BufferLinePick` letters
- [Feature Request]: The derive hlgroup of function<derive_colors> should be configurable HOT 1
- [Bug]: attempt to call field 'setup' (a nil value) HOT 4
- [Bug]: With bufferline and telescope, buffers open in Insert (a) mode
- [Bug]: Icon bg colour not correct HOT 1
- [Bug]: (UNKNOWN PLUGIN): Error executing lua: attempt to call a number value HOT 5
- [Feature Request]: Text alignment in buffer tabs HOT 2
- [Bug]: offset doesn't work with neo-tree HOT 1
- [Bug]: Highlight "buffer" doesn't work
- [Bug]: Bufferline sets `showtabline=2` HOT 24
- Is it possible to ignore certain buffers in the bufferline, like terminal buffers for example? HOT 1
- [Feature Request]: A way to retrieve a buffer's `current_index` HOT 2
- [Bug]: Styling filetype icon for all filetypes not working/possible HOT 4
- [Bug]: (UNKNOWN PLUGIN): Error executing lua: attempt to call a nil value HOT 1
- [Feature Request]: Ability to pin all open buffers HOT 2
- Some common questions HOT 1
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 bufferline.nvim.