Skip to content

Folder titles off by a single space after opening #197

Closed

Description

Sorry for spamming you with issues, but I couldn't find this in the faq or other issues. With the following settings:

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

When opening a folder, the titles of the opened folder move to the left a single space (scripts and tmux folders):

image

I'm assuming that's a bug? My setup is the same as in the previous issue, I can copy it over if you'd like. Let me know if you need more info.

Activity

  1. ryanoasis commented on Feb 25, 2017

    @ryanoasis
    Owner

    Sorry for spamming you with issues

    No worries! 😄

    Interesting issue. This is enough info for now I will try to replicate this weekend 😅

  2. ryanoasis commented on Apr 6, 2017

    @ryanoasis
    Owner

    I think I have found the issue. We can target this for the next release. Thanks again 😄

  3. added this to the v0.9.0 milestone on Apr 6, 2017
  4. self-assigned this
    on Apr 6, 2017
  5. added a commit that references this issue on Apr 29, 2017
    a0871e0
  6. XadillaX commented on May 27, 2017

    @XadillaX

    This PR and issue hurt me.

    before:

    after:

  7. ryanoasis commented on May 28, 2017

    @ryanoasis
    Owner

    @XadillaX Ouchie! 😊 😢 sorry about that...

    Can you tell us your vimrc settings for vimdevicons, or are you using all default settings?

  8. vysnet commented on Jul 12, 2017

    @vysnet

    Hey @ryanoasis,
    I have the same problem as @XadillaX - this patch causes a regression for me. Just updated vim-devicons from v0.8.6 to the latest v0.9.2

    Before the patch:
    vim-devicons-before

    After the patch:
    vim-devicons-after

    I am using the following version of gvim:

    VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
    Included patches: 1-1689
    Extra patches: 8.0.0056
    

    Custom settings applied for devicons:

    let g:webdevicons_enable_nerdtree = 1
    let g:WebDevIconsUnicodeDecorateFolderNodes = 1
    let g:WebDevIconsNerdTreeAfterGlyphPadding = ''
    let g:WebDevIconsNerdTreeGitPluginForceVAlign = 1
    let g:DevIconsEnableFoldersOpenClose = 1
    let g:DevIconsEnableFolderExtensionPatternMatching = 1
    

    I traced down the problem to the following line: https://github.com/ryanoasis/vim-devicons/blob/master/plugin/webdevicons.vim#L748 on the latest version.
    Is there any particular reason why the function is called with a disabled artifact fix?
    When the flag is enabled the plugin applies the correct paddings/fixes as expected.

    @ryanoasis Let me know if I should submit the pull request with the fix.

  9. ryanoasis commented on Jan 25, 2018

    @ryanoasis
    Owner

    Really sorry about the delays people. Hopefully we can straighten things out next release 🤞

  10. ryanoasis commented on Jan 25, 2018

    @ryanoasis
    Owner

    Plan of action here: #225 (comment)

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