From da7180186659085eb5d8d7c2cd0f6b5715cd2ce7 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Sun, 23 Jan 2022 14:37:09 +0100 Subject: [PATCH] fix multi workspace setup (#31) --- lua/hardline/parts/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/hardline/parts/lsp.lua b/lua/hardline/parts/lsp.lua index 7af48e9..442544a 100644 --- a/lua/hardline/parts/lsp.lua +++ b/lua/hardline/parts/lsp.lua @@ -33,7 +33,7 @@ local function get_lsp_clients() end local c = {} - for _, client in ipairs(clients) do + for _, client in pairs(clients) do table.insert(c, client.name) end return table.concat(c, "|")