feat: show user initial in color block

This commit is contained in:
əlemi 2024-10-02 23:20:39 +02:00
parent 3555572c2a
commit 3f71b36ccd
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -104,7 +104,7 @@ M.users = function(config, node, state)
for user, buf in pairs(codemp_buffers.users) do
if buf == node.name then
table.insert(out, {
text = " ",
text = string.sub(user, 0, 1),
highlight = codemp_utils.color(user).bg,
align = "end",
})