vim-nerdtree-syntax-highlight icon indicating copy to clipboard operation
vim-nerdtree-syntax-highlight copied to clipboard

just show left half label

Open wuqiong4945 opened this issue 8 years ago • 23 comments

ubuntu, vim 7.4

wuqiong4945 avatar Sep 23 '16 15:09 wuqiong4945

screenshot from 2016-09-23 23-30-50

wuqiong4945 avatar Sep 23 '16 15:09 wuqiong4945

If you disable the plugin and use vim-devicons without colors, does it work?

tiagofumo avatar Sep 23 '16 22:09 tiagofumo

I was going to say this is related to ryanoasis/vim-devicons/issues/133 but I don't know if it is quite the same (some are not cut and only in the tree and this is on Ubuntu not Mac)

ryanoasis avatar Sep 23 '16 22:09 ryanoasis

turn out the plugin and set color by manual. It is all OK.

screenshot from 2016-09-24 21-27-21

wuqiong4945 avatar Sep 24 '16 13:09 wuqiong4945

@wuqiong4945 in that picture the python icon and the lua icon are cuted. I think there is something wrong with your setup. Comment the lines to manually set the colors and check if the icons are ok. If not, try another patched font, because some of these icons are just too big.

tiagofumo avatar Sep 26 '16 18:09 tiagofumo

@ryanoasis @wuqiong4945 I have tried to fix the bug, FYI. https://github.com/xusiyuan841028/vim-nerdtree-syntax-highlight/commit/9b35c3ea2c70b2ba629609e65e8741b275a18f16

xusiyuan841028 avatar Oct 02 '16 15:10 xusiyuan841028

having same problem on neovim 0.2.0-dev emulator: Konsole font: Droid sans for powerline nerd font added autocmd FileType nerdtree setlocal nolist but still not working...

audacioustux avatar Dec 05 '16 20:12 audacioustux

I can reproduce the error only when this plugin activated. Vimdevicons works fine without this.

felixsanz avatar Jun 03 '17 13:06 felixsanz

In MacVim 8.0.596 I unchecked Prefrences->Advanced-> Use Core Text renderer, icons are no longer clipped.

magler avatar Jun 05 '17 16:06 magler

same issue with VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 12 2017 07:40:16) on 4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Half icons issue can be reproduced only when vim-nerdtree-syntax-highlight is enabled. When I removed vim-nerdtree-syntax-highlight, no problem for the show of the icons.

IsOverThere avatar Aug 22 '17 16:08 IsOverThere

I have the same issue with NeoVim 0.3.0 + URxvt + Meslo LGM Nerd Font on Gentoo Linux. When deactivating this plugin, vim-devicons works fine. 1 2 4

I've tried some other nerd fonts like DroidSans, Hack, and Dejavu, but it's still rotten luck.

purejoy avatar Aug 20 '18 12:08 purejoy

Same issue for me

image

(Vim 8.1, Suckless Terminal, Iosevka Nerd Font)

andys8 avatar Nov 17 '19 18:11 andys8

Works fine for me with nvim and The offical IBM Plex nerdfonts patch

allbombson avatar May 22 '20 15:05 allbombson

Same problem with half icons in vim 8.2

xjantoth avatar Feb 18 '21 21:02 xjantoth

This issue can still be reproduced on rxvt-unicode. I found a workaround to solve this. 2021-06-01_16-04 fix_missing_right_side.patch.txt

purejoy avatar Jun 01 '21 08:06 purejoy

The font: "NotoMono Nerd Font Mono" worked for me on the Konsole. image

Leo310 avatar Sep 14 '21 20:09 Leo310

Hello, I also have this issue.

Only with vim-devicons without highlighting I don't have the cut-off.

As other people said, it can be fixed by using fonts. Which really are monospaced and therefore having smaller icons which fit into one character. However I don't see switching fonts as a valid solution to this problem. 2022-04-20_06-39

My setup:

  • Terminal: Suckless Terminal with a few patches (https://github.com/ToppDev/st)
  • Nerd Fonts: https://aur.archlinux.org/packages/nerd-fonts-complete
  • Font with cut-off: FiraCode Nerd Font
  • Font without cut-off: FiraCode Nerd Font Mono

ToppDev avatar Apr 20 '22 04:04 ToppDev

Another problem is that all the truly Mono Nerd Font versions don't work with Powerline10k. I am ditching this plugin until this is fixed.

jclsn avatar Jan 31 '23 14:01 jclsn

So I guess this plugin is abandoned. Pity...

jclsn avatar Mar 10 '23 14:03 jclsn

@jclsn just use nvim-tree. It's way better

Leo310 avatar Mar 10 '23 17:03 Leo310

@Leo310 I don't use Neovim

jclsn avatar Mar 10 '23 17:03 jclsn

@jclsn then switch to neovim :p it's also way better

Leo310 avatar Mar 10 '23 18:03 Leo310

No, I reject Neovim. I don't like the mindset behind it. Fern seems like a good alternative to NERDTree

jclsn avatar Mar 10 '23 21:03 jclsn