2023-02-01 19:11:37 +00:00
|
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
with lib; {
|
|
|
|
|
config = {
|
|
|
|
|
vim.statusline.lualine = {
|
|
|
|
|
enable = mkDefault false;
|
|
|
|
|
|
|
|
|
|
icons = mkDefault true;
|
|
|
|
|
theme = mkDefault "auto";
|
|
|
|
|
sectionSeparator = {
|
|
|
|
|
left = mkDefault "";
|
|
|
|
|
right = mkDefault "";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
componentSeparator = {
|
|
|
|
|
left = mkDefault "⏽";
|
|
|
|
|
right = mkDefault "⏽";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
activeSection = {
|
|
|
|
|
a = mkDefault "{'mode'}";
|
|
|
|
|
b = ''
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"branch",
|
|
|
|
|
separator = '',
|
|
|
|
|
},
|
|
|
|
|
"diff",
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
c = mkDefault "{'filename'}";
|
|
|
|
|
x = mkDefault ''
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"diagnostics",
|
|
|
|
|
sources = {'nvim_lsp'},
|
|
|
|
|
separator = '',
|
2023-02-01 21:01:08 +00:00
|
|
|
|
symbols = {error = '', warn = '', info = '', hint = ''},
|
2023-02-01 19:11:37 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"filetype",
|
|
|
|
|
},
|
|
|
|
|
"fileformat",
|
|
|
|
|
"encoding",
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
y = mkDefault "{'progress'}";
|
|
|
|
|
z = mkDefault "{'location'}";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
inactiveSection = {
|
|
|
|
|
a = mkDefault "{}";
|
|
|
|
|
b = mkDefault "{}";
|
|
|
|
|
c = mkDefault "{'filename'}";
|
|
|
|
|
x = mkDefault "{'location'}";
|
|
|
|
|
y = mkDefault "{}";
|
|
|
|
|
z = mkDefault "{}";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|