fix(icon): use fill directory by default

This commit is contained in:
Barrett Ruth 2026-02-23 17:20:44 -05:00
parent 60bfbe05da
commit b87c665ccb
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -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'