mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
fix(lsp): fix get_active_clients bufnr parameter (#21366)
Follow up to https://github.com/neovim/neovim/pull/21337
This commit is contained in:

committed by
GitHub

parent
49df92da94
commit
8b84a10db7
@@ -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(
|
||||
|
Reference in New Issue
Block a user