Open nionios opened 3 years ago
Followup: Seems not reproducible in Alacritty, I only have this problem on Konsole
I'm sorry for the late reply. Are you sure that it is caused by this plugin? I guess that kind of behavior could be seen without this plugin.
Also faced the issue, but it was pretty simple to face it, just add an space in a custom list for it, put this into your vimrc and it will work:
let g:glyph_palette#palette = { \ 'GlyphPalette1': [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], \ 'GlyphPalette2': ['', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], \ 'GlyphPalette3': ['λ', ' ', ' ', ' ', ' ', ' ', ' ', \ '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', '', '', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], \ 'GlyphPalette4': [' ', ' ', ' ', ' ', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], \ 'GlyphPalette6': [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], \ 'GlyphPalette7': [' ', ' ', ' ', ' ', ' ', ' ', ' ', \ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '] , \ 'GlyphPalette9': [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '], \ 'GlyphPaletteDirectory': [' ', ' ', ' ', ' ', ' ', ' '], }
If you are using nerdfont.vim
, from this commit (https://github.com/lambdalisue/nerdfont.vim/commit/213a00b1ed5ae166c12e3ba632d3108296b03667), it automatically fix the width of glyphs.
Is breaking all the with glyphs, lightline, airline,buffet, buftabline, etc, still the short answer to provide that statusline glyph and disabling the fix is correcting
Well, glyph-palette itself doesn't touch widths... Do you mean nerdfont.vim breaks glpyhs in lightline, airline, buffet, buftabline, etc? or glyph-palette itself breaks somehow?
it also uses to change to the default window background, but implementing my previous suggestion it works nice and smooth :), idk if there is a conflict with the background applications, but it works well when the spacing is declared
Interesting. Similar issue is reported (https://github.com/lambdalisue/fern-renderer-nerdfont.vim/issues/26#issuecomment-1846073643) so we might need extra space for syntax highlight in any case. I'll investigate. Thanks for the comment @awelormro
@nionios @awelormro Does #22 solve issue?
Did not, still in the need to add spaces from the glyph invocation
Hello,
I am on Arch Linux, kernel version 5.10.35-1-lts. My Nvim is in version v0.4.4
The following occurs in NerdTree when I install and use the glyph-palette.
Any idea as to why this happens?