refactor(columns): Add custom icons from conf param
This commit is contained in:
parent
cb54e03490
commit
c19f2d74de
1 changed files with 2 additions and 2 deletions
|
|
@ -205,12 +205,12 @@ if has_devicons then
|
|||
end
|
||||
end
|
||||
if type == "directory" then
|
||||
return { config.icons.directory, "OilDir" }
|
||||
return { conf.directory, "OilDir" }
|
||||
else
|
||||
local icon
|
||||
local hl
|
||||
icon, hl = devicons.get_icon(name)
|
||||
icon = icon or config.icons.default_file
|
||||
icon = icon or conf.default_file
|
||||
return { icon .. " ", hl }
|
||||
end
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue