32 lines
796 B
Nix
32 lines
796 B
Nix
{
|
|
programs.nixvim.plugins.lualine = {
|
|
enable = true;
|
|
settings = {
|
|
options.disabled_filetypes.statusline =
|
|
[ "dashboard" "alpha" "neo-tree" ];
|
|
|
|
alwaysDivideMiddle = true;
|
|
globalstatus = true;
|
|
ignoreFocus = [ "neo-tree" ];
|
|
extensions = [ "fzf" ];
|
|
theme = "auto";
|
|
componentSeparators = {
|
|
left = "|";
|
|
right = "|";
|
|
};
|
|
sectionSeparators = {
|
|
left = ""; #
|
|
right = ""; #
|
|
};
|
|
sections = {
|
|
lualine_a = [ "mode" ];
|
|
lualine_b = [ "branch" "diff" "diagnostics" ];
|
|
lualine_c = [ "filename" ];
|
|
lualine_x = [ "filetype" ];
|
|
lualine_y = [ "progress" "selectioncount" ];
|
|
lualine_z = [ ''" " .. os.date("%R")'' ];
|
|
};
|
|
};
|
|
};
|
|
}
|