Skip to content

Commit

Permalink
fix(#498): set_icons failed when called before setup
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-courtis committed Sep 21, 2024
1 parent 84c2c95 commit 53b8cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim-web-devicons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ function M.set_default_icon(icon, color, cterm_color)
set_up_highlight(default_icon)
end

-- Load the icons already, the loaded tables depend only on &background, so that set methods may be called before setup
-- Load the icons already, the loaded tables depend on the 'background' setting.
refresh_icons()

function M.refresh()
Expand Down

0 comments on commit 53b8cdb

Please sign in to comment.