feat: update deprecated function
This commit is contained in:
parent
287f81729f
commit
20d42ed361
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function M.format(bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.get_active_lsp_client_names()
|
function M.get_active_lsp_client_names()
|
||||||
local active_clients = vim.lsp.get_active_clients()
|
local active_clients = vim.lsp.get_clients()
|
||||||
local client_names = {}
|
local client_names = {}
|
||||||
for _, client in pairs(active_clients or {}) do
|
for _, client in pairs(active_clients or {}) do
|
||||||
local buf = vim.api.nvim_get_current_buf()
|
local buf = vim.api.nvim_get_current_buf()
|
||||||
|
|
Loading…
Add table
Reference in a new issue