Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git submodule icons in nvim-tree #3035

Closed
adimail opened this issue Dec 23, 2024 · 1 comment
Closed

git submodule icons in nvim-tree #3035

adimail opened this issue Dec 23, 2024 · 1 comment

Comments

@adimail
Copy link

adimail commented Dec 23, 2024

This feature idea was originally discussed here: Does nvim-tree have webicon for git submodules?.

Raised a similar issue in #3038

Should this go into nvim-tree itself?

Proposed Solution

Allow users to define a custom icon for Git submodules in the renderer.icons.git configuration. For example:

renderer = {
    -- other configurations...
    icons = {
        -- other icons...
        git = {
            -- existing git icons...
            submodule = '',  -- Git submodule icon
        },
    },
},

It would be helpful to have a dedicated icon for Git submodules in the nvim-tree file explorer. Currently, while nvim-tree supports various Git status icons (e.g., staged, unstaged, untracked), there isn’t an option to display a unique icon for submodules.

@alex-courtis
Copy link
Member

Tracked in #3038

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

No branches or pull requests

2 participants