fix: since it gets 2-wide sometimes...

... make it 2-wide always but with leading letter
This commit is contained in:
əlemi 2024-10-02 23:24:55 +02:00
parent 3e2ceb99de
commit 09a37f7b77
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 = string.sub(user, 0, 1),
text = string.sub(user, 0, 1).." ",
highlight = codemp_utils.color(user).bg,
})
end