nvimdev / nvimdev/lspsaga.nvim

float window close immediately when call require("lspsaga.diagnostic"):goto_next() in vim.schedule()

Open
#1,524 0 comments 3 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

Image

Steps to reproduce

1,map m :lua vim.schedule(function() require("lspsaga.diagnostic"):goto_next() end)<cr>
2,press m in a buffer has diagnostics

Expected behavior

detail info should be shown in float window

Neovim version (nvim -v)

NVIM v0.10.3 Build type: Release LuaJIT 2.1.1731601260

lspsaga commit

commit 5fce15331ac6c3a3ec3ac91ab0e85ed82f5cbba0

Terminal name/version

windows terminal 1.22.241118002-preview

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 by reproducing the issue with lspsaga.diagnostic:goto_next() called inside vim.schedule() on Neovim v0.10.3, using a buffer with diagnostics. Trace that entry point and the float-window behavior; done means the detail information remains visible instead of closing immediately.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.