mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
feat: show user initial in color block
This commit is contained in:
parent
3555572c2a
commit
3f71b36ccd
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ M.users = function(config, node, state)
|
||||||
for user, buf in pairs(codemp_buffers.users) do
|
for user, buf in pairs(codemp_buffers.users) do
|
||||||
if buf == node.name then
|
if buf == node.name then
|
||||||
table.insert(out, {
|
table.insert(out, {
|
||||||
text = " ",
|
text = string.sub(user, 0, 1),
|
||||||
highlight = codemp_utils.color(user).bg,
|
highlight = codemp_utils.color(user).bg,
|
||||||
align = "end",
|
align = "end",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue