Skip to content

Commit

Permalink
fix(mini-icons): respect icons_enabled variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Jul 5, 2024
1 parent 0219171 commit 524acd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/astrocommunity/icon/mini-icons/init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
return {
"echasnovski/mini.icons",
opts = {},
opts = function(_, opts)
if vim.g.icons_enabled == false then opts.style = "ascii" end
end,
lazy = true,
specs = {
{ "nvim-tree/nvim-web-devicons", enabled = false, optional = true },
Expand Down

0 comments on commit 524acd9

Please sign in to comment.