|
@ -8,15 +8,6 @@ return { |
|
|
local lualine = require("lualine") |
|
|
local lualine = require("lualine") |
|
|
local lazy_status = require("lazy.status") |
|
|
local lazy_status = require("lazy.status") |
|
|
|
|
|
|
|
|
local function macro_recording() |
|
|
|
|
|
local recording_register = vim.fn.reg_recording() |
|
|
|
|
|
if recording_register == "" then |
|
|
|
|
|
return "" |
|
|
|
|
|
else |
|
|
|
|
|
return "Recording @" .. recording_register |
|
|
|
|
|
end |
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
lualine.setup({ |
|
|
lualine.setup({ |
|
|
options = { |
|
|
options = { |
|
|
theme = "kanagawa", |
|
|
theme = "kanagawa", |
|
@ -33,7 +24,6 @@ return { |
|
|
lualine_c = { |
|
|
lualine_c = { |
|
|
{ "filename", file_status = true, path = 1 }, |
|
|
{ "filename", file_status = true, path = 1 }, |
|
|
{ "harpoon2" }, |
|
|
{ "harpoon2" }, |
|
|
{ macro_recording, color = { fg = "#ff9e64", gui = "bold" } }, |
|
|
|
|
|
}, |
|
|
}, |
|
|
lualine_x = { |
|
|
lualine_x = { |
|
|
{ |
|
|
{ |
|
|