nvimdev / nvimdev/lspsaga.nvim
bug: `client.requests` is deprecated
Open
Nobody has claimed this yet.
bug
- Dominant language
- Lua
- Stars
- 3.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
- ⚠️ WARNING client.request is deprecated. Feature will be removed in Nvim 0.13
- ADVICE:
- use client:request instead.
- stack traceback:
/Users/sghuang/.local/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/head.lua:89
/Users/sghuang/.local/share/nvim/lazy/lspsaga.nvim/lua/lspsaga/symbol/head.lua:177
[C]:-1
/opt/homebrew/Cellar/neovim/HEAD-f1a8bb4/share/nvim/runtime/lua/vim/lsp/client.lua:1091
/opt/homebrew/Cellar/neovim/HEAD-f1a8bb4/share/nvim/runtime/lua/vim/lsp/client.lua:593
vim/_editor.lua:0
Similar to #1543
Steps to reproduce
:checkhealth deprecated
Expected behavior
NA
Neovim version (nvim -v)
NVIM v0.12.0-dev-1224+gf1a8bb45ca-Homebrew
lspsaga commit
8efe00d
Terminal name/version
Ghostty
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in lua/lspsaga/symbol/head.lua at the stack-trace locations around lines 89 and 177. Run :checkhealth deprecated in Neovim to reproduce the warning, then verify the deprecated client API is no longer reported after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100