more hotkeys!
This commit is contained in:
parent
b5bbfe57a3
commit
6cf68f8680
2 changed files with 20 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
|||
local function lsp_clients()
|
||||
local clients = {}
|
||||
for _, client in pairs(vim.lsp.buf_get_clients(0)) do
|
||||
clients[#clients + 1] = client.name
|
||||
local name = client.name
|
||||
-- TODO revisit this doesn't work
|
||||
if not client.initialized then
|
||||
name = name .. " (loading)"
|
||||
end
|
||||
clients[#clients + 1] = name
|
||||
end
|
||||
|
||||
table.sort(clients)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue