fredizzimo

Results 1393 comments of fredizzimo

This is caused by the way we render the unicode En Space https://www.compart.com/en/unicode/U+2002 For some reason swash seem to decide it’s a double width character. It could also be a...

Actually, En space is typically the double with of space https://jkorpela.fi/chars/spaces.html. So perhaps the font does that, even if it’s monospace. But since Neovim only knows pure unicode, it does...

You might also have ambiwidth set wrong for some reason https://neovim.io/doc/user/options.html#'ambiwidth'

And it should be fixable by setting https://neovim.io/doc/user/builtin.html#setcellwidths(), to width 2 for unicode 2002. `call setcellwidths([0x2002, 0x2002, 2])`

For `nvim-web-devicons` I think it’s up to the indvidual plugins to make sure that they reserve two spaces for the icons. Some allows that to be configurable. Alternatively, you can...

Great that we found a workaround/fix. I think, I will re-open this, since I want to investigate what happens a bit closer and I can’t do it right now, due...

It seems like the real fix would be for Neovim to apply the same hack as this https://github.com/kovidgoyal/kitty/issues/6750. It can also be done in Neovide, with even more hacks. Or...

I guess alacritty and maybe wezterm, already threats all different spaces the same, and therefor works, since I did not find any issues in those repositories.

I think the workaround adds an extra space in some cases where it should not, but I might be wrong, and if I am, then this should be enough.

@HansVanpee, you are mos likely encountering this * https://github.com/neovide/neovide/issues/2003 And yes, that's a recent Neovim regression