mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix(lualine): unique buf client names (#2683)
Co-authored-by: emxxjnm <emxxjnm@example>
This commit is contained in:
parent
16c0c86284
commit
ecd3441287
1 changed files with 2 additions and 1 deletions
|
@ -110,7 +110,8 @@ return {
|
|||
local supported_linters = linters.list_registered(buf_ft)
|
||||
vim.list_extend(buf_client_names, supported_linters)
|
||||
|
||||
return "[" .. table.concat(buf_client_names, ", ") .. "]"
|
||||
local unique_client_names = vim.fn.uniq(buf_client_names)
|
||||
return "[" .. table.concat(unique_client_names, ", ") .. "]"
|
||||
end,
|
||||
color = { gui = "bold" },
|
||||
cond = conditions.hide_in_width,
|
||||
|
|
Loading…
Reference in a new issue