Add configurable folder icons
This commit is contained in:
@@ -10,6 +10,10 @@ function M.get_icon_state()
|
||||
unmerged = "═",
|
||||
renamed = "➜",
|
||||
untracked = "★"
|
||||
},
|
||||
folder_icons = {
|
||||
default = "",
|
||||
open = ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +27,11 @@ function M.get_icon_state()
|
||||
icons.git_icons[key] = val
|
||||
end
|
||||
end
|
||||
for key, val in pairs(user_icons.folder) do
|
||||
if icons.folder_icons[key] then
|
||||
icons.folder_icons[key] = val
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user