Skip to content

Add option to not rendering specific git icon if the icon is explicitly not provided #1923

@alex35mil

Description

@alex35mil

Is this a question?
It is not.

Can this functionality be implemented utilising API?
AFAICT it's not possible with the current API.

Is your feature request related to a problem? Please describe.
I'm trying to hide some specific git icons in the tree, but looks like it is not possible.

git = {
    unstaged = "", -- renders empty clolumn
    unmerged = nil, -- renders default icon
    untracked = false, -- raises
}

Describe the solution you'd like
Don't render anything if the icon value is not an icon.

Describe alternatives you've considered
none

Additional context
none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions