Skip to content

Commit a551c24

Browse files
committed
feat(plugins): add mini.icons support
1 parent 7225920 commit a551c24

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,13 @@ term.foreground
241241
| [gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim) | `gitsigns` |
242242
| [hop.nvim](https://github.com/phaazon/hop.nvim) | `hop` |
243243
| [indent_blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim) | `indent-blankline` |
244+
| [lazy.nvim](https://github.com/folke/lazy.nvim) | `lazy` |
244245
| [lightspeed.nvim](https://github.com/ggandor/lightspeed.nvim) | `lightspeed` |
245246
| [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim) | `lualine` |
247+
| [mason.nvim](https://github.com/williamboman/mason.nvim) | `mason` |
248+
| [mini.nvim](https://github.com/echasnovski/mini.nvim) | `mini` |
249+
| [mini.icons](https://github.com/echasnovski/mini.icons) | `miniicons` |
250+
| [mini.starter](https://github.com/echasnovski/mini.starter) | `ministarter` |
246251
| [neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim) | `neo-tree` |
247252
| [neogit](https://github.com/NeogitOrg/neogit) | `neogit` |
248253
| [noice.nvim](https://github.com/folke/noice.nvim) | `noice` |

lua/astrotheme/groups/plugins/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ return {
1010
["lazy.nvim"] = "lazy",
1111
["lightspeed.nvim"] = "lightspeed",
1212
["mason.nvim"] = "mason",
13+
["mini.nvim"] = "mini",
1314
["mini.starter"] = "ministarter",
15+
["mini.icons"] = "miniicons",
1416
["neo-tree.nvim"] = "neo-tree",
1517
["neogit"] = "neogit",
1618
["noice.nvim"] = "noice",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---@type AstroThemeCallback
2+
local function callback(...)
3+
return vim.tbl_deep_extend(
4+
"force",
5+
require "astrotheme.groups.plugins.ministarter"(...),
6+
require "astrotheme.groups.plugins.miniicons"(...)
7+
)
8+
end
9+
10+
return callback
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---@type AstroThemeCallback
2+
local function callback(c)
3+
local color = require "astrotheme.lib.color"
4+
return {
5+
MiniIconsAzure = { fg = color.new(c.ui.blue):lighten(35):tohex() },
6+
MiniIconsBlue = { fg = c.ui.blue },
7+
MiniIconsCyan = { fg = c.ui.cyan },
8+
MiniIconsGreen = { fg = c.ui.green },
9+
MiniIconsGrey = { fg = c.ui.text },
10+
MiniIconsOrange = { fg = c.ui.orange },
11+
MiniIconsPurple = { fg = c.ui.purple },
12+
MiniIconsRed = { fg = c.ui.red },
13+
MiniIconsYellow = { fg = c.ui.yellow },
14+
}
15+
end
16+
17+
return callback

0 commit comments

Comments
 (0)