Browse Source

feat: remove macro_recording function from lualine

master
Tovi Jaeschke-Rogers 3 months ago
parent
commit
8f595ce26d
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      .config/nvim/lua/plugins/lualine.lua

+ 0
- 10
.config/nvim/lua/plugins/lualine.lua View File

@ -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 = {
{ {


Loading…
Cancel
Save