Files
dots/home/editors/nvim/plugins/utils/lualine/section-left.nix
2025-12-01 18:24:34 +01:00

49 lines
788 B
Nix

colors: get-mode-color: [
{
__unkeyed-1 = "mode";
color.__raw = get-mode-color;
}
{
__unkeyed-1.__raw = ''
function()
local reg_rec = vim.fn.reg_recording()
if reg_rec ~= "" then
return "󰑊 rec (" .. reg_rec .. ")"
else
return ""
end
end
'';
color = {
fg = colors.red;
gui = "bold";
};
}
{
icon = "";
__unkeyed-1 = "branch";
color = {
fg = colors.violet;
gui = "bold";
};
}
{
mode = 2;
__unkeyed-1 = "buffers";
symbols = {
modified = "";
alternate_file = "";
};
buffers_color = {
inactive.fg = colors.grey;
active = {
fg = colors.magenta;
gui = "bold";
};
};
}
]