-
-
Notifications
You must be signed in to change notification settings - Fork 635
Description
Is your feature request related to a problem? Please describe.
I think it would be really great if you could have custom folder icon colors & custom folder icons depending on the name of the folder. For example, all of my folders are grey, but I would love if I could make node_modules folders green, pages folders orange, dist folders a light red, you get the idea. I think being able to change the icons too would be a bonus.
Describe the solution you'd like
I think a few main highlight groups for popular folders would be great, such as NvimTreeNodeModulesFolder, NvimTreeUtilsFolder, NvimTreeLuaFolder, and NvimTreeStylesFolder, and maybe some more. What I think would be absolutely perfect would be being able to dynamically add them for whatever name the user wants by setting it up the config, something like
nvim_tree.setup({
folder_overrides = {
{ name: "lua", iconColor: "#000000", icon: " " }
}
})Describe alternatives you've considered
N/A
Additional context
In this picture you can see the node_modules folder is set to a green folder icon, and types has blue folder icon. This is what I think would be awesome as a feature.
