feat: update deprecated function

This commit is contained in:
Matthew Leong 2023-08-30 21:28:02 -07:00
parent 287f81729f
commit 20d42ed361

View file

@ -31,7 +31,7 @@ function M.format(bufnr)
end
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 = {}
for _, client in pairs(active_clients or {}) do
local buf = vim.api.nvim_get_current_buf()