fix(lsp): fix get_active_clients bufnr parameter (#21366)

Follow up to https://github.com/neovim/neovim/pull/21337
This commit is contained in:
Mathias Fußenegger
2022-12-09 22:02:04 +01:00
committed by GitHub
parent 49df92da94
commit 8b84a10db7
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.get_active_clients({ buffer = bufnr })) do
for _, client in pairs(vim.lsp.get_active_clients({ bufnr = bufnr })) do
if client.offset_encoding == nil then
vim.notify_once(
string.format(