Neovim 0.11 warning because position encoding is omitted from make_position_params
Describe the bug
When vim-tabby requests an inline completion on Neovim 0.11, Neovim displays the following warning:
position_encoding param is required in vim.lsp.util.make_position_params. Defaulting to position encoding of the first client.
The warning appears because lua/tabby/lsp/nvim_lsp.lua constructs the inline-completion parameters without specifying a position encoding:
local inline_completion_params = vim.lsp.util.make_position_params()
Besides producing the warning, defaulting to the first LSP client could select the wrong encoding when multiple clients are attached to the buffer.
Information about your version tabby 0.32.0
vim-tabby commit:
5e30c429354b8e0fd5bbc7634be4abac5518bb80
Neovim version:
NVIM v0.11.7 Build type: Release LuaJIT 2.1.1741730670
Information about your GPU
GPU: NVIDIA GeForce RTX 3080 Ti VRAM: 12 GB NVIDIA driver: 610.43.03 CUDA version: 13.3
Source: TabbyML/tabby