From 3dbc4a61e58f632b05c04087c5e788480e5ef81b Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 5 Apr 2025 16:29:56 -0700 Subject: refactor: deprecate util.get_lsp_clients #3694 --- plugin/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/lspconfig.lua') diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 47ba1731..a432c9ae 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -138,7 +138,7 @@ api.nvim_create_user_command('LspStop', function(info) -- default to stopping all servers on current buffer if #args == 0 then - clients = util.get_lsp_clients({ bufnr = vim.api.nvim_get_current_buf() }) + clients = vim.lsp.get_clients({ bufnr = vim.api.nvim_get_current_buf() }) else clients = get_clients_from_cmd_args(args) end -- cgit v1.2.3-70-g09d2