mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
Fix: example of plugins.bufferline.settings.options.get_element_icon used a wrong variable
This commit is contained in:
parent
8b09c4a829
commit
a64048e9f5
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
-- This can be used to change how bufferline fetches the icon
|
-- This can be used to change how bufferline fetches the icon
|
||||||
-- for an element e.g. a buffer or a tab.
|
-- for an element e.g. a buffer or a tab.
|
||||||
-- e.g.
|
-- e.g.
|
||||||
local icon, hl = require('nvim-web-devicons').get_icon_by_filetype(opts.filetype, { default = false })
|
local icon, hl = require('nvim-web-devicons').get_icon_by_filetype(element.filetype, { default = false })
|
||||||
return icon, hl
|
return icon, hl
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue