Skip to content

The tree always renders the icon padding, even when the icon is defined as an empty string #632

Closed
@saviocmc

Description

@saviocmc

First of all, thank you very much for your great work, this plugin is awesome!

My issue is that even when I set the icon to be an empty string, like the example below (lua config), the tree still renders the icon padding.

    git = {
        unstaged = '•',
        staged = '•',
        unmerged = '',
        renamed = '➜',
        untracked = '',
        deleted = '',
        ignored = '',
    },

2021-09-23-23-32-31

For the example above, the deleted and ignored are set as empty string, but the padding still renders.
The tags file is ignored by .gitignore, and the icon padding is rendered, as the image shows, making it misaligned with the other files.
In my opinion, the expected behavior should be to act as there were no icon, and skip the icon rendering altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions