Skip to content

Commit

Permalink
Add explicit support for 'mini.nvim'.
Browse files Browse the repository at this point in the history
  • Loading branch information
echasnovski committed Jul 8, 2022
1 parent 4f4bf74 commit 5ac83ca
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ require('lualine').setup {
+ [VimFugitive](https://github.com/tpope/vim-fugitive)
+ [DiffView](https://github.com/sindrets/diffview.nvim)
+ [Hop](https://github.com/phaazon/hop.nvim)
+ [Mini](https://github.com/echasnovski/mini.nvim)

## Reference
* [tokyodark.nvim](https://github.com/tiagovla/tokyodark.nvim)
Expand Down
52 changes: 52 additions & 0 deletions lua/onedark/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,58 @@ hl.plugins.ts_rainbow = {
rainbowcol7 = colors.Red
}

hl.plugins.mini = {
MiniCompletionActiveParameter = { fmt = "underline" },

MiniCursorword = { fmt = "underline" },
MiniCursorwordCurrent = { fmt = "underline" },

MiniIndentscopeSymbol = { fg = c.light_grey },
MiniIndentscopePrefix = { fmt = "nocombine" }, -- Make it invisible

MiniJump = { fg = c.purple, fmt = "underline", sp = c.purple },

MiniJump2dSpot = { fg = c.red, fmt = "bold,nocombine" },

MiniStarterCurrent = { fmt = "nocombine" },
MiniStarterFooter = { fg = c.dark_red, fmt = "italic" },
MiniStarterHeader = colors.Yellow,
MiniStarterInactive = { fg = c.grey, fmt = cfg.code_style.comments },
MiniStarterItem = { fg = c.fg, bg = cfg.transparent and c.none or c.bg0 },
MiniStarterItemBullet = { fg = c.grey },
MiniStarterItemPrefix = { fg = c.yellow },
MiniStarterSection = colors.LightGrey,
MiniStarterQuery = { fg = c.cyan },

MiniStatuslineDevinfo = { fg = c.fg, bg = c.bg2 },
MiniStatuslineFileinfo = { fg = c.fg, bg = c.bg2 },
MiniStatuslineFilename = { fg = c.grey, bg = c.bg1 },
MiniStatuslineInactive = { fg = c.grey, bg = c.bg0 },
MiniStatuslineModeCommand = { fg = c.bg0, bg = c.yellow, fmt = "bold" },
MiniStatuslineModeInsert = { fg = c.bg0, bg = c.blue, fmt = "bold" },
MiniStatuslineModeNormal = { fg = c.bg0, bg = c.green, fmt = "bold" },
MiniStatuslineModeOther = { fg = c.bg0, bg = c.cyen, fmt = "bold" },
MiniStatuslineModeReplace = { fg = c.bg0, bg = c.red, fmt = "bold" },
MiniStatuslineModeVisual = { fg = c.bg0, bg = c.purple, fmt = "bold" },

MiniSurround = { fg = c.bg0, bg = c.orange },

MiniTablineCurrent = { fmt = "bold" },
MiniTablineFill = { fg = c.grey, bg = c.bg1 },
MiniTablineHidden = { fg = c.fg, bg = c.bg1 },
MiniTablineModifiedCurrent = { fg = c.orange, fmt = "bold,italic" },
MiniTablineModifiedHidden = { fg = c.light_grey, bg = c.bg1, fmt = "italic" },
MiniTablineModifiedVisible = { fg = c.yellow, bg = c.bg0, fmt = "italic" },
MiniTablineTabpagesection = { fg = c.bg0, bg = c.bg_yellow },
MiniTablineVisible = { fg = c.light_grey, bg = c.bg0 },

MiniTestEmphasis = { fmt = "bold" },
MiniTestFail = { fg = c.red, fmt = "bold" },
MiniTestPass = { fg = c.green, fmt = "bold" },

MiniTrailspace = { bg = c.red },
}

hl.langs.c = {
cInclude = colors.Blue,
cStorageClass = colors.Purple,
Expand Down

0 comments on commit 5ac83ca

Please sign in to comment.