nvimdev / nvimdev/lspsaga.nvim

bug: `client.requests` is deprecated

Open
#1,553 1 comment 5 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.