refactor(lsp): remove deprecated vim.lsp.buf_get_clients calls (#21337)

This commit is contained in:
Raphael
2022-12-08 20:28:28 +08:00
committed by GitHub
parent e2c5b21e18
commit 50ffb8d7f4
2 changed files with 4 additions and 4 deletions

View File

@@ -1931,7 +1931,7 @@ function M._get_offset_encoding(bufnr)
local offset_encoding
for _, client in pairs(vim.lsp.buf_get_clients(bufnr)) do
for _, client in pairs(vim.lsp.get_active_clients({ buffer = bufnr })) do
if client.offset_encoding == nil then
vim.notify_once(
string.format(