utility/snacks-nvim: add lualine, bufferline extension / offset

This commit is contained in:
Venkatesan Ravi 2025-04-09 21:52:55 +00:00
commit 28af5c1ff9
3 changed files with 30 additions and 27 deletions

View file

@ -272,20 +272,12 @@ in {
offsets = mkOption {
type = listOf attrs;
default = [
{
filetype = "NvimTree";
text = "File Explorer";
highlight = "Directory";
separator = true;
}
{
filetype = "neo-tree";
text = "File Explorer";
highlight = "Directory";
separator = true;
}
];
default = map (filetype: {
inherit filetype;
text = "File Explorer";
highlight = "Directory";
separator = true;
}) ["NvimTree" "neo-tree" "snacks_layout_box"];
description = "The windows to offset bufferline above, see `:help bufferline-offset`";
};