Skip to content

Commit

Permalink
Merge pull request #210 from killitar/master
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelot authored Sep 23, 2024
2 parents 0d79743 + bc5cd63 commit 7a79753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ local LSPActive = {
-- Or complicate things a bit and get the servers names
provider = function()
local names = {}
for i, server in pairs(vim.lsp.get_active_clients({ bufnr = 0 })) do
for i, server in pairs(vim.lsp.get_clients({ bufnr = 0 })) do
table.insert(names, server.name)
end
return " [" .. table.concat(names, " ") .. "]"
Expand Down

0 comments on commit 7a79753

Please sign in to comment.