From 77edaeee8b691832315b4394321031cb24205d12 Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 27 Oct 2024 20:16:15 +0100 Subject: Add mini.statusline support (#46) * feat: add mini-statusline group * docs: add mini.statusline to the list of supported plugins --- lua/no-clown-fiesta/groups/init.lua | 1 + lua/no-clown-fiesta/groups/mini-statusline.lua | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 lua/no-clown-fiesta/groups/mini-statusline.lua (limited to 'lua/no-clown-fiesta/groups') 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 -- cgit v1.2.3-70-g09d2