Skip to content

nerdtree, when press "up a dir", the folder icon missing #189

Closed

Description

@wuqiong4945

system : ubuntu 16.04
vim version : 7.4

screenshot from 2017-01-02 22-52-45

Activity

  1. ryanoasis commented on Feb 20, 2017

    @ryanoasis
    Owner

    Thanks for the report. I'll take a look

  2. ryanoasis commented on May 7, 2017

    @ryanoasis
    Owner

    @wuqiong4945 Sorry for the long delay.

    I am not able to replicate the issue. Do you still have the issue with the latest version?

    Which keymap is this? u or U or something else?

  3. ryanoasis commented on May 10, 2017

    @ryanoasis
    Owner

    @wuqiong4945 Ah okay now I see it. It is with U (uppercase U)

  4. modified the milestones: v0.10.0, v0.9.2 on May 10, 2017
  5. self-assigned this
    on May 10, 2017
  6. added a commit that references this issue on May 29, 2017
    4f551e9
  7. slabua commented on Jan 14, 2018

    @slabua

    I have encountered this bug, initially in a different way but I also tried by pressing u and it still happens.
    Here are the steps that reproduced the issue for me:

    1. Navigate inside a folder by pressing e
    2. Move up entering the parent folder ../ with <CR>

    peek 2018-01-14 16-40-slowed

  8. slabua commented on Jan 14, 2018

    @slabua

    I have also noticed that the behaviour is different depending on whether let g:DevIconsEnableFoldersOpenClose is set to 0 or 1.
    In my recording above, I have set it to 1. When the issue occurs, the icon gets fixed by cycling open/close status for the particular folder. If it's set to 0, instead, cycling open/close the folder doesn't fix the appearance.

  9. xlucn commented on Nov 17, 2019

    @xlucn

    @ryanoasis I am having this problem even now.
    Reproducible just by

    1. start vim in a folder
    2. toggle nerdtree and
    3. press 'u'/'U'

    This only happens the first time I go to the parent dir, e.g. press 'u' when first time open nerdtree or after I jump to a bookmark.

    Tested with a minimal .vimrc below and on Archlinux, urxvt, vim 8.1, Hack nerdfont and plugins fresh installed.

    Screenshot_2019-11-17_15-35-42
    Screenshot_2019-11-17_15-35-52

    .vimrc:

    call plug#begin('~/.vim/bundle')
    Plug 'scrooloose/nerdtree'
    Plug 'ryanoasis/vim-devicons'
    call plug#end()
    
  10. agschipor commented on May 7, 2020

    @agschipor

    I have the same problem, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions