fix(icon): use fill directory by default
This commit is contained in:
parent
60bfbe05da
commit
b87c665ccb
1 changed files with 1 additions and 1 deletions
|
|
@ -950,7 +950,7 @@ M.get_icon_provider = function()
|
||||||
local _, devicons = pcall(require, 'nvim-web-devicons')
|
local _, devicons = pcall(require, 'nvim-web-devicons')
|
||||||
return function(type, name, conf, ft)
|
return function(type, name, conf, ft)
|
||||||
if type == 'directory' then
|
if type == 'directory' then
|
||||||
local icon = nonicons.get('file-directory')
|
local icon = nonicons.get('file-directory-fill')
|
||||||
return icon or (conf and conf.directory or ''), 'OilDirIcon'
|
return icon or (conf and conf.directory or ''), 'OilDirIcon'
|
||||||
end
|
end
|
||||||
local hl = devicons and select(2, devicons.get_icon(name)) or 'OilFileIcon'
|
local hl = devicons and select(2, devicons.get_icon(name)) or 'OilFileIcon'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue