tokyonight.nvim icon indicating copy to clipboard operation
tokyonight.nvim copied to clipboard

Add explicit support for 'mini.nvim'

Open echasnovski opened this issue 3 years ago • 0 comments

Hi! I would like to add explicit support for mini.nvim.

Basic choices are taken from highlight groups to which 'mini.nvim' makes links by default or from analogous plugins.

Differences from default linked groups:

  • 'mini.cursorword' is based on 'Illuminate'.
  • 'mini.jump' is based on 'Sneak'.
  • 'mini.jump2d' is based on 'Hop'. Using nocombine = true to be consistent (not have italic labels on italic text).
  • 'mini.starter' is based on 'dashboard.lua', 'whichkey.lua', 'telescope.lua', and personal choices:
    • MiniStarterItemBullet is as border.
    • MiniStarterItemPrefix and MiniStarterQuery are based on "warning" and "info" diagnostic colors to be opposite of each other.
    • MiniStarterSection is chosen to be visible (as from "Special" highlight group).
  • 'mini.statusline' is based on 'lualine/themes/tokyonight.lua' and personal choices:
    • MiniStatuslineDevinfo and MiniStatuslineFileinfo are "slightly different text".
    • All MiniStatuslineMode* have bold text as this seems to be used in screenshot.
    • MiniStatuslineModeOther is chosen to be different from others.
  • 'mini.tabline' is based on 'Barbar'.
  • 'mini.test' has red for fail and green for pass.
  • 'mini.trailspace' has group with red background to draw attention.

Before:

https://user-images.githubusercontent.com/24854248/177715941-3a65ed56-7661-4a10-853f-81bd128a9889.mp4

After:

https://user-images.githubusercontent.com/24854248/177715969-f8560bf4-8991-40d5-96cc-a77f6e171b62.mp4

echasnovski avatar Jul 07 '22 07:07 echasnovski