add akin909 screenshot, fix user icon config load
This commit is contained in:
parent
d4e5b1bb51
commit
fbe5d6d1f7
BIN
.github/screenshot2.png
vendored
Normal file
BIN
.github/screenshot2.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 744 KiB |
@ -110,6 +110,7 @@ This plugin is very fast because it uses the `libuv` `scandir` and `scandir_next
|
|||||||
- Mouse support
|
- Mouse support
|
||||||
- It's fast
|
- It's fast
|
||||||
|
|
||||||
## Screenshot
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|

|
||||||
|
|||||||
@ -22,12 +22,12 @@ function M.get_icon_state()
|
|||||||
if user_icons.default then
|
if user_icons.default then
|
||||||
icons.default = user_icons.default
|
icons.default = user_icons.default
|
||||||
end
|
end
|
||||||
for key, val in pairs(user_icons.git) do
|
for key, val in pairs(user_icons.git or {}) do
|
||||||
if icons.git_icons[key] then
|
if icons.git_icons[key] then
|
||||||
icons.git_icons[key] = val
|
icons.git_icons[key] = val
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for key, val in pairs(user_icons.folder) do
|
for key, val in pairs(user_icons.folder or {}) do
|
||||||
if icons.folder_icons[key] then
|
if icons.folder_icons[key] then
|
||||||
icons.folder_icons[key] = val
|
icons.folder_icons[key] = val
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user