Skip to content

Commit

Permalink
feat(nvim): add recording to statusbar
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Nov 16, 2023
1 parent 163694d commit 321706d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions configs/nvim/lua/plugin/appearance/miniline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,19 @@ end)
end
}

[[Recording]] {
hl = colors.group('white', 'red'),
visible = {
active = function (ctx)
return ctx.value ~= nil
end
},
fn = function ()
local register = fn.reg_recording()
return register ~= '' and string.format(' %s ', register) or nil
end
}

[[Obsession]] {
hl = colors.group('white', 'brightblack'),
visible = {
Expand Down

0 comments on commit 321706d

Please sign in to comment.