diff options
author | marcel <googlillo@gmail.com> | 2024-10-27 20:16:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-27 20:16:15 +0100 |
commit | 77edaeee8b691832315b4394321031cb24205d12 (patch) | |
tree | 0774a92d08a8eabcce0da16322f72f6296d161c6 /lua/no-clown-fiesta/groups | |
parent | cd4b70346bfb28edc83525946fd75fac6ddb0d4e (diff) |
Add mini.statusline support (#46)
* feat: add mini-statusline group
* docs: add mini.statusline to the list of supported plugins
Diffstat (limited to 'lua/no-clown-fiesta/groups')
-rw-r--r-- | lua/no-clown-fiesta/groups/init.lua | 1 | ||||
-rw-r--r-- | lua/no-clown-fiesta/groups/mini-statusline.lua | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/groups/init.lua b/lua/no-clown-fiesta/groups/init.lua index 12219d0..d5e32fd 100644 --- a/lua/no-clown-fiesta/groups/init.lua +++ b/lua/no-clown-fiesta/groups/init.lua @@ -11,6 +11,7 @@ return { require "no-clown-fiesta.groups.lsp", require "no-clown-fiesta.groups.markdown", require "no-clown-fiesta.groups.mason", + require "no-clown-fiesta.groups.mini-statusline", require "no-clown-fiesta.groups.neogit", require "no-clown-fiesta.groups.neotest", require "no-clown-fiesta.groups.noice", diff --git a/lua/no-clown-fiesta/groups/mini-statusline.lua b/lua/no-clown-fiesta/groups/mini-statusline.lua new file mode 100644 index 0000000..6920f46 --- /dev/null +++ b/lua/no-clown-fiesta/groups/mini-statusline.lua @@ -0,0 +1,12 @@ +local M = {} + +function M.highlight(palette, opts) + return { + MiniStatuslineFilename = { fg = palette.light_gray, bg = palette.bg }, + MiniStatuslineDevinfo = { fg = palette.medium_gray, bg = palette.bg }, + MiniStatuslineFileinfo = { fg = palette.medium_gray, bg = palette.bg }, + MiniStatuslineInactive = { fg = palette.gray, bg = palette.bg }, + } +end + +return M |