Skip to content

Commit

Permalink
fix(groups): differentiate between active button with lazy.nvim (#383)
Browse files Browse the repository at this point in the history
Lazy.nvim used CursorLine and VisualSelect to differentiate between
active and non-active buttons at the top of lazy's ui. These are the
same styles in nightfox.

This was overridden to help make active button visually unique.
  • Loading branch information
EdenEast committed Oct 16, 2023
1 parent fe2fc7b commit 6a6076b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 24 deletions.
1 change: 1 addition & 0 deletions doc/nightfox.txt
Expand Up @@ -513,6 +513,7 @@ Current list of modules are:
- hop
- illuminate
- indent_blanklines
- lazy.nvim
- leap
- lightspeed
- lsp_saga
Expand Down
30 changes: 6 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lua/nightfox/config.lua
Expand Up @@ -77,6 +77,7 @@ M.module_names = {
"hop",
"illuminate",
"indent_blankline",
"lazy",
"leap",
"lightspeed",
"lsp_saga",
Expand Down
11 changes: 11 additions & 0 deletions lua/nightfox/group/modules/lazy.lua
@@ -0,0 +1,11 @@
local M = {}

function M.get(spec, config, opts)
return {
LazyButtonActive = { link = "TabLineSel" },
LazyDimmed = { link = "LineNr" },
LazyProp = { link = "LineNr" },
}
end

return M
1 change: 1 addition & 0 deletions readme.md
Expand Up @@ -529,6 +529,7 @@ There are a few things to note:
- [lspsaga.nvim](https://github.com/glepnir/lspsaga.nvim)
- [lsp-trouble.nvim](https://github.com/simrat39/lsp-trouble.nvim)
- [indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)
- [lazy.nvim](https://github.com/folke/lazy.nvim)
- [mini.nvim](https://github.com/echasnovski/mini.nvim)
- [modes.nvim](https://github.com/mvllow/modes.nvim)
- [nvim-navic](https://github.com/SmiteshP/nvim-navic)
Expand Down
1 change: 1 addition & 0 deletions usage.md
Expand Up @@ -405,6 +405,7 @@ Current list of modules are:
- hop
- illuminate
- indent_blanklines
- lazy.nvim
- leap
- lightspeed
- lsp_saga
Expand Down

0 comments on commit 6a6076b

Please sign in to comment.