Skip to content

Commit

Permalink
feat(mini.test): add support for mini.test
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Mar 2, 2025
1 parent b2712b3 commit c2421a7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ require("onedarkpro").setup({
mini_diff = true,
mini_icons = true,
mini_indentscope = true,
mini_test = true,
neotest = true,
neo_tree = true,
nvim_cmp = true,
Expand Down Expand Up @@ -736,6 +737,7 @@ The theme supports the following plugins:
- [mini.diff](https://github.com/echasnovski/mini.diff) (`mini_diff`)
- [mini.icons](https://github.com/echasnovski/mini.icons) (`mini_icons`)
- [mini.indentscope](https://github.com/echasnovski/mini.indentscope) (`mini_indentscope`)
- [mini.test](https://github.com/echasnovski/mini.test) (`mini_test`)
- [Neotest](https://github.com/nvim-neotest/neotest) (`neotest`)
- [neo-tree](https://github.com/nvim-neo-tree/neo-tree.nvim) (`neo_tree`)
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) (`nvim_cmp`)
Expand Down
1 change: 1 addition & 0 deletions lua/onedarkpro/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ local defaults = {
mini_diff = true,
mini_icons = true,
mini_indentscope = true,
mini_test = true,
neotest = true,
neo_tree = true,
nvim_cmp = true,
Expand Down
10 changes: 10 additions & 0 deletions lua/onedarkpro/highlights/plugins/mini_test.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
local M = {}

function M.groups(theme)
return {
MiniTestPass = { fg = theme.palette.green, bold = true },
MiniTestFail = { fg = theme.palette.red, bold = true },
}
end

return M

0 comments on commit c2421a7

Please sign in to comment.