We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a744d92 commit 3f1bc7aCopy full SHA for 3f1bc7a
lua/lsp-progress/defaults.lua
@@ -1,3 +1,5 @@
1
+local api = require("lsp-progress.api")
2
+
3
--- @alias lsp_progress.Configs table<any, any>
4
--- @type lsp_progress.Configs
5
local Defaults = {
@@ -134,7 +136,7 @@ local Defaults = {
134
136
if #client_messages > 0 then
135
137
return sign .. " " .. table.concat(client_messages, " ")
138
end
- if #vim.lsp.get_active_clients() > 0 then
139
+ if #api.lsp_clients() > 0 then
140
return sign
141
142
return ""
0 commit comments