nvimdev / nvimdev/lspsaga.nvim
float window close immediately when call require("lspsaga.diagnostic"):goto_next() in vim.schedule()
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
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
- 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 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