summaryrefslogtreecommitdiff
path: root/lua/core/galaxyline.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-06 10:39:08 +0200
committerkylo252 <[email protected]>2021-08-06 10:47:21 +0200
commit990bb622e0a7f90881a6016570c6f205499b1c0d (patch)
treef26b2227f7518f5e7fbf5a9f59f7a0817fb54b82 /lua/core/galaxyline.lua
parent89ee39cfd571279b98c6681e47f68ca43a48c44b (diff)
chore: remove now-redundant utility function
Diffstat (limited to 'lua/core/galaxyline.lua')
-rw-r--r--lua/core/galaxyline.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/core/galaxyline.lua b/lua/core/galaxyline.lua
index b2325b19..d3f9342b 100644
--- a/lua/core/galaxyline.lua
+++ b/lua/core/galaxyline.lua
@@ -203,7 +203,6 @@ table.insert(gls.right, {
local function get_attached_provider_name(msg)
msg = msg or "LSP Inactive"
local buf_clients = vim.lsp.buf_get_clients()
- local utils = require "utils"
if next(buf_clients) == nil then
return msg
end
@@ -215,7 +214,7 @@ local function get_attached_provider_name(msg)
table.insert(buf_client_names, client.name)
end
end
- utils.list_extend_unique(buf_client_names, null_ls_providers)
+ vim.list_extend(buf_client_names, null_ls_providers)
return table.concat(buf_client_names, ", ")
end