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 | |
parent | cd4b70346bfb28edc83525946fd75fac6ddb0d4e (diff) |
Add mini.statusline support (#46)
* feat: add mini-statusline group
* docs: add mini.statusline to the list of supported plugins
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | doc/no-clown-fiesta.txt | 1 | ||||
-rw-r--r-- | lua/no-clown-fiesta/groups/init.lua | 1 | ||||
-rw-r--r-- | lua/no-clown-fiesta/groups/mini-statusline.lua | 12 |
4 files changed, 15 insertions, 0 deletions
@@ -103,3 +103,4 @@ Other plugin managers are left as an exercise to the reader. - Telescope - Treesitter - WhichKey +- mini.statusline diff --git a/doc/no-clown-fiesta.txt b/doc/no-clown-fiesta.txt index fe78c27..afaf841 100644 --- a/doc/no-clown-fiesta.txt +++ b/doc/no-clown-fiesta.txt @@ -60,4 +60,5 @@ SUPPORTED PLUGINS *no-clown-fiesta-supported_plugin * Treesitter * StatusLine (the default non custom one) * WhichKey +* Mini.statusline 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 |