Skip to content

Commit 1363a05

Browse files
committed
fix(utils): correctly check for showing buffer icons
1 parent 3b57867 commit 1363a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/bufferline/utils/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function M.get_icon(opts)
217217
if icon then return icon, hl end
218218
end
219219

220-
if not config.show_buffer_icons then return "", "" end
220+
if not config.options.show_buffer_icons then return "", "" end
221221
local loaded, webdev_icons = pcall(require, "nvim-web-devicons")
222222
if opts.directory then
223223
local hl = loaded and "DevIconDefault" or nil

0 commit comments

Comments
 (0)