diff options
author | kylo252 <[email protected]> | 2022-06-23 16:12:26 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-06-23 16:12:26 +0200 |
commit | 57bebb5c51a4e93b283a5c65563254b9bfb492cf (patch) | |
tree | 8a6f0a3596e534002833038bea79d5ede57dc563 /lua/lvim/core/lualine/components.lua | |
parent | f1a672f8674f68d6a610b95fef29ed15339b3cbd (diff) | |
parent | 8989984b781367b2744c4857e73d8943311db241 (diff) |
Merge branch 'rolling'
Diffstat (limited to 'lua/lvim/core/lualine/components.lua')
-rw-r--r-- | lua/lvim/core/lualine/components.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lvim/core/lualine/components.lua b/lua/lvim/core/lualine/components.lua index b89bbd36..49a8ff81 100644 --- a/lua/lvim/core/lualine/components.lua +++ b/lua/lvim/core/lualine/components.lua @@ -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, |