aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/health.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2023-07-17 18:27:16 +0200
committerGitHub <noreply@github.com>2023-07-17 18:27:16 +0200
commit1b9ccd38a12f8fdbdff51ef0b3ff363540f745ec (patch)
treee9433c169c338482cd4692ead619c4440703d527 /runtime/lua/vim/lsp/health.lua
parentd0d132fbd055834cbecb3d4e3a123a6ea8f099ec (diff)
downloadrneovim-1b9ccd38a12f8fdbdff51ef0b3ff363540f745ec.tar.gz
rneovim-1b9ccd38a12f8fdbdff51ef0b3ff363540f745ec.tar.bz2
rneovim-1b9ccd38a12f8fdbdff51ef0b3ff363540f745ec.zip
feat(lsp)!: rename vim.lsp.get_active_clients to get_clients (#24113)
Diffstat (limited to 'runtime/lua/vim/lsp/health.lua')
-rw-r--r--runtime/lua/vim/lsp/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/health.lua b/runtime/lua/vim/lsp/health.lua
index 8817bb71de..023b1c26be 100644
--- a/runtime/lua/vim/lsp/health.lua
+++ b/runtime/lua/vim/lsp/health.lua
@@ -28,7 +28,7 @@ function M.check()
local report_fn = (log_size / 1000000 > 100 and report_warn or report_info)
report_fn(string.format('Log size: %d KB', log_size / 1000))
- local clients = vim.lsp.get_active_clients()
+ local clients = vim.lsp.get_clients()
vim.health.start('vim.lsp: Active Clients')
if next(clients) then
for _, client in pairs(clients) do