treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
empty = {
plugins.lualine.enable = true;
};
@ -25,22 +26,30 @@
winbar = 1000;
};
sections = {
lualine_a = ["mode"];
lualine_b = ["branch" "diff" "diagnostics"];
lualine_c = ["filename"];
lualine_x = ["encoding" "fileformat" "filetype"];
lualine_y = ["progress"];
lualine_z = ["location"];
lualine_a = [ "mode" ];
lualine_b = [
"branch"
"diff"
"diagnostics"
];
lualine_c = [ "filename" ];
lualine_x = [
"encoding"
"fileformat"
"filetype"
];
lualine_y = [ "progress" ];
lualine_z = [ "location" ];
};
inactiveSections = {
lualine_c = ["filename"];
lualine_x = ["location"];
lualine_c = [ "filename" ];
lualine_x = [ "location" ];
};
};
};
example = {
extraPlugins = [pkgs.vimPlugins.gruvbox-nvim];
extraPlugins = [ pkgs.vimPlugins.gruvbox-nvim ];
plugins.lualine = {
enable = true;
theme.__raw = ''
@ -50,9 +59,12 @@
return custom_gruvbox
end)()
'';
ignoreFocus = ["NvimTree" "neo-tree"];
ignoreFocus = [
"NvimTree"
"neo-tree"
];
disabledFiletypes = {
winbar = ["neo-tree"];
winbar = [ "neo-tree" ];
};
sections = {
lualine_c = [
@ -68,8 +80,8 @@
}
];
lualine_z = [
{name = "location";}
{name = "%L";} # total lines
{ name = "location"; }
{ name = "%L"; } # total lines
];
};
tabline = {
@ -99,7 +111,7 @@
}
];
};
extensions = ["nvim-tree"];
extensions = [ "nvim-tree" ];
};
};
}