feat(statusline): little clean up
This commit is contained in:
parent
f66766a2f4
commit
fab75c9f32
2 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,6 @@ gls.mid = {
|
||||||
return client_str
|
return client_str
|
||||||
end
|
end
|
||||||
|
|
||||||
table.sort(clients)
|
|
||||||
for i, client in ipairs(clients) do
|
for i, client in ipairs(clients) do
|
||||||
client_str = client_str .. client
|
client_str = client_str .. client
|
||||||
if i < #clients then
|
if i < #clients then
|
||||||
|
|
|
@ -43,6 +43,7 @@ function M.get_active_lsp_client_names()
|
||||||
table.insert(client_names, i, client.name)
|
table.insert(client_names, i, client.name)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
table.sort(client_names)
|
||||||
return client_names
|
return client_names
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue