feat: added macro recording to lualine status bar

This commit is contained in:
Ceferino Patino 2025-07-05 13:27:50 -05:00
commit 5702919109
Signed by: c4patino
SSH key fingerprint: SHA256:9fQ9TsujGrdNNi76mnsu63v7dS5JOmHRZEqBOl49OR8

View file

@ -7,7 +7,7 @@
globalstatus = true;
always_divide_middle = true;
theme = "auto";
ignore_focuse = ["nvim-tree"];
ignore_focus = ["nvim-tree"];
component_separators = {
left = "|";
@ -25,10 +25,23 @@
icon = "";
icons_enabled = true;
}
{__unkeyed = "diff";}
{__unkeyed = "diagnostics";}
"diff"
"diagnostics"
];
lualine_c = [
"filename"
{
__raw = ''
function()
local rec = vim.fn.reg_recording()
if rec ~= "" then
return " @" .. rec
end
return ""
end
'';
}
];
lualine_c = ["filename"];
lualine_x = ["filetype"];
lualine_y = ["location"];
lualine_z = [''" " .. os.date("%R")''];