diff --git a/README.md b/README.md index 7c7ffac..fa3c247 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ A colorscheme for [Neovim](https://github.com/neovim/neovim). Pleasant and produ - [Nvim-notify](https://github.com/rcarriga/nvim-notify) - [Aerial](https://github.com/stevearc/aerial.nvim) - [Neotest](https://github.com/nvim-neotest/neotest) +- [Lazy](https://github.com/folke/lazy.nvim) ## Installation and usage Example with [packer.nvim](https://github.com/wbthomason/packer.nvim): diff --git a/lua/mellifluous/config.lua b/lua/mellifluous/config.lua index 4e57e85..ebad767 100644 --- a/lua/mellifluous/config.lua +++ b/lua/mellifluous/config.lua @@ -22,6 +22,7 @@ local config = { nvim_notify = true, aerial = true, neotest = true, + lazy = true, }, dim_inactive = false, styles = { diff --git a/lua/mellifluous/highlights/plugins/lazy.lua b/lua/mellifluous/highlights/plugins/lazy.lua new file mode 100644 index 0000000..9fb33d5 --- /dev/null +++ b/lua/mellifluous/highlights/plugins/lazy.lua @@ -0,0 +1,19 @@ +local M = {} + +function M.set(hl, colors) + local config = require('mellifluous.config').config + + hl.set('LazyNormal', { bg = colors.bg2 }) + hl.set('LazyButton', { fg = colors.fg2, bg = colors.bg }) + hl.set('LazyButtonActive', { fg = colors.fg, bg = config.is_bg_dark and colors.bg5 or colors.bg4 }) + hl.set('LazyH1', { link = 'LazyButtonActive' }) + + hl.set('LazyProgressTodo', { fg = config.is_bg_dark and colors.fg5 or colors.dark_bg }) + hl.set('LazyProgressDone', { fg = colors.fg }) + + hl.set('LazyDimmed', { fg = colors.fg3 }) + hl.set('LazyProp', { link = 'LazyDimmed' }) +end + +return M +