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'}";
|
2023-02-03 15:54:14 +00:00
|
|
|
|
b = mkDefault ''
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"filename",
|
|
|
|
|
color = {bg='none'}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
c = mkDefault ''
|
2023-02-01 19:11:37 +00:00
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"branch",
|
2023-02-03 15:54:14 +00:00
|
|
|
|
icon = ''
|
2023-02-01 19:11:37 +00:00
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
x = mkDefault ''
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"diagnostics",
|
|
|
|
|
sources = {'nvim_lsp'},
|
|
|
|
|
separator = '',
|
2023-02-03 15:54:14 +00:00
|
|
|
|
symbols = {error = '', warn = '', info = '', hint = ''}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
y = mkDefault ''
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"fileformat",
|
|
|
|
|
color = {bg='none'}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
'';
|
|
|
|
|
z = mkDefault ''
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"progress",
|
|
|
|
|
color = {bg='none'}
|
2023-02-01 19:11:37 +00:00
|
|
|
|
},
|
2023-02-03 15:54:14 +00:00
|
|
|
|
"location",
|
2023-02-01 19:11:37 +00:00
|
|
|
|
{
|
|
|
|
|
"filetype",
|
2023-02-03 15:54:14 +00:00
|
|
|
|
color = {
|
|
|
|
|
bg='none',
|
|
|
|
|
fg='lavender'
|
|
|
|
|
},
|
2023-02-01 19:11:37 +00:00
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
inactiveSection = {
|
|
|
|
|
a = mkDefault "{}";
|
|
|
|
|
b = mkDefault "{}";
|
|
|
|
|
c = mkDefault "{'filename'}";
|
|
|
|
|
x = mkDefault "{'location'}";
|
|
|
|
|
y = mkDefault "{}";
|
|
|
|
|
z = mkDefault "{}";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|