Merge branch 'NikolaM-Dev-feature-custom-icons'
This commit is contained in:
commit
fb8b101d7c
3 changed files with 13 additions and 5 deletions
|
|
@ -205,12 +205,13 @@ if has_devicons then
|
|||
end
|
||||
end
|
||||
if type == "directory" then
|
||||
return { " ", "OilDir" }
|
||||
local icon = conf and conf.directory or " "
|
||||
return { icon, "OilDir" }
|
||||
else
|
||||
local icon
|
||||
local hl
|
||||
icon, hl = devicons.get_icon(name)
|
||||
icon = icon or ""
|
||||
icon = icon or (conf and conf.default_file or "")
|
||||
return { icon .. " ", hl }
|
||||
end
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue