feat(columns): Add compatibility with previous versions
This commit is contained in:
parent
f687b721e9
commit
98a186e8f9
1 changed files with 2 additions and 2 deletions
|
|
@ -205,12 +205,12 @@ if has_devicons then
|
|||
end
|
||||
end
|
||||
if type == "directory" then
|
||||
return { conf.directory, "OilDir" }
|
||||
return { conf.directory or " ", "OilDir" }
|
||||
else
|
||||
local icon
|
||||
local hl
|
||||
icon, hl = devicons.get_icon(name)
|
||||
icon = icon or conf.default_file
|
||||
icon = icon or conf.default_file or ""
|
||||
return { icon .. " ", hl }
|
||||
end
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue