feat: added macro recording to lualine status bar
This commit is contained in:
parent
d35377760f
commit
5702919109
1 changed files with 17 additions and 4 deletions
|
|
@ -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")''];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue