You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This would improve the visual distinction of submodule folders and make it easier for users to identify them in the tree view.
Proposed Solution
Allow users to define a custom icon for Git submodules in the renderer.icons.git configuration. For example:
Hi, long time user of nvim-tree here and I am looking forward to this feature! However, git performance is already not ideal especially for large repos so it would be nice that this doesn't regress the existing git integrations. My idea is that all submodules paths can be listed once with git submodule status --recursive and that can be cached, then it could be refreshed whenever .gitmodules changes - so basically never unless a submodule is added or removed
It would be helpful to have a dedicated icon for Git submodules in the
nvim-tree
file explorer. Currently, whilenvim-tree
supports various Git status icons (e.g., staged, unstaged, untracked), there isn’t an option to display a unique icon for submodules.This would improve the visual distinction of submodule folders and make it easier for users to identify them in the tree view.
Proposed Solution
Allow users to define a custom icon for Git submodules in the
renderer.icons.git
configuration. For example:References
This feature idea was originally discussed here: Does nvim-tree have webicon for git submodules?.
Request
I’d appreciate guidance on how to proceed with implementing this feature.
The text was updated successfully, but these errors were encountered: