add lualine

This commit is contained in:
Aditya 2024-03-06 18:32:00 +05:30
parent f3e3971ce6
commit 2d5b2689e2
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
2 changed files with 36 additions and 0 deletions

View file

@ -40,6 +40,8 @@
./snippets/luasnip.nix
./statusline/lualine.nix
./ui/nvim-notify.nix
];
}

View file

@ -0,0 +1,34 @@
{
plugins.lualine = {
enable = true;
alwaysDivideMiddle = true;
globalstatus = true;
ignoreFocus = ["neo-tree"];
extensions = ["fzf"];
theme = "auto";
componentSeparators = {
left = "|";
right = "|";
};
sectionSeparators = {
left = ""; # 
right = ""; # 
};
sections = {
lualine_a = ["mode"];
lualine_b = [
{
name = "branch";
icon = "";
}
"diff"
"diagnostics"
];
lualine_c = ["filename"];
lualine_x = ["filetype"];
lualine_y = ["progress"];
lualine_z = [''" " .. os.date("%R")''];
};
};
}