Skip to content

Folder icons bug #194

Closed
Closed

Description

Required Info

  • I have searched the issues for my issue and found nothing related and/or helpful

  • I have read or at least glanced at the FAQ

  • I have read or at least glanced at the Wiki

  • What version of vim are you using?

NVIM 0.1.7
Build type: RelWithDebInfo
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20170218-86441-v9u4vo/neovim-0.1.7/build/config -I/tmp/neovim-20170218-86441-v9u4vo/neovim-0.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20170218-86441-v9u4vo/neovim-0.1.7/build/src/nvim/auto -I/tmp/neovim-20170218-86441-v9u4vo/neovim-0.1.7/build/include
Compiled by ismay@macbook.local

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.1.7/share/nvim"
  • What version of vim-devicons are you using?
    0.8.5
  • Are you using vim from the terminal or a GUI vim?
    iTerm2 neovim
  • Are you using Mac, Linux or Windows?
    macos Sierra 10.12.3

When using the folder open/close icons:

  let g:WebDevIconsUnicodeDecorateFolderNodes = 1
  let g:DevIconsEnableFoldersOpenClose = 1

They don't always work as expected.

  1. The top folder icon doesn't open/close:

screen shot 2017-02-20 at 14 21 40

But ones below do:

screen shot 2017-02-20 at 14 22 36

  1. When closing a node with the close parent of node command the icon doesn't respond:

screen shot 2017-02-20 at 14 23 19

But it does when you close the folder with open & close node command

Activity

  1. ryanoasis commented on Feb 24, 2017

    @ryanoasis
    Owner

    for 2 I was able to replicate and good catch thanks 😄


    for 1 I was not able to replicate but don't doubt you saw that. can you provide more info or steps?
    I tried to make a directory structure similar to yours (folder with only have a folder and then some files) but could not identify a pattern to reproduce

  2. added this to the v0.9.1 milestone on May 2, 2017
  3. self-assigned this
    on May 2, 2017
  4. ryanoasis commented on May 7, 2017

    @ryanoasis
    Owner

    It took longer than I thought but I have a working solution that is not too bad 😄

  5. ryanoasis commented on May 7, 2017

    @ryanoasis
    Owner

    I wasn't able to record but I have a screenshot that shows the results of O keypress (Recursively open the selected directory):

    selection_001

  6. ryanoasis commented on May 7, 2017

    @ryanoasis
    Owner

    Yep correct. I was able to just finish fixing those as well:

    • x (Closes the parent of the selected node.)
    • X (Recursively closes all children of the selected directory.)
  7. added a commit that references this issue on May 7, 2017
    343e50e
  8. ryanoasis commented on May 7, 2017

    @ryanoasis
    Owner

    I am going to release this in a few hours 📦 , if you would like to help test the 0.9.1 branch is up. Thanks

  9. 6 remaining items

  10. modified the milestones: v0.9.3, v0.9.2 on May 29, 2017
  11. modified the milestones: v0.9.3, v0.10.0 on Oct 12, 2017
  12. ryanoasis commented on Jan 21, 2018

    @ryanoasis
    Owner

    Not ideal but a workaround for this would be to set:

    let NERDTreeCascadeSingleChildDir=0

    At least until we have a fix (working on it!)

  13. added a commit that references this issue on Jan 21, 2018
    7861899
  14. ryanoasis commented on Feb 13, 2018

    @ryanoasis
    Owner

    This has been fixed! 😄

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