clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add recording macros status

sspaeti ac52f117 b74fab02

+13 -1
+13 -1
nvim/.config/nvim/lua/sspaeti/plugins/lualine.lua
··· 77 77 --word per minute 78 78 local wpm = require("wpm") 79 79 80 + -- macro recording indicator 81 + local recording = { 82 + function() 83 + local reg = vim.fn.reg_recording() 84 + if reg == "" then 85 + return "" 86 + end 87 + return "recording @" .. reg 88 + end, 89 + color = { fg = "#ff9e64", gui = "bold" }, 90 + } 91 + 80 92 --old config 81 93 require("lualine").setup({ 82 94 options = { ··· 88 100 always_divide_middle = true, 89 101 }, 90 102 sections = { 91 - lualine_a = { "mode" }, 103 + lualine_a = { "mode", recording }, 92 104 lualine_b = {}, 93 105 lualine_c = { branch, active_lsp, filename }, 94 106 lualine_x = { wpm.historic_graph, diff, diagnostics, { get_venv, color = { gui = "bold" } }, filetype },