Skip to content

Commit a64048e

Browse files
authored
Fix: example of plugins.bufferline.settings.options.get_element_icon used a wrong variable
1 parent 8b09c4a commit a64048e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/by-name/bufferline/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
604604
-- This can be used to change how bufferline fetches the icon
605605
-- for an element e.g. a buffer or a tab.
606606
-- e.g.
607-
local icon, hl = require('nvim-web-devicons').get_icon_by_filetype(opts.filetype, { default = false })
607+
local icon, hl = require('nvim-web-devicons').get_icon_by_filetype(element.filetype, { default = false })
608608
return icon, hl
609609
end
610610
'';

0 commit comments

Comments
 (0)