Open
Description
Did you check docs and existing issues?
- I have read all the snacks.nvim docs
- I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues of snacks.nvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.10.4
Operating system/version
MacOs
Describe the bug
When trying to resume an LSP picker, the error is shown:
No results found for
lsp_references
Steps To Reproduce
- Go to a variable, or any symbol
- run
:Snacks.picker.lsp_references()
- Select an item or close the picker
- Move the cursor to an empty line
- run:
Snacks.picker.resume()
- The error is shown, and an empty picker is displayed
Expected Behavior
I would expect the picker to resume and show the same results, regardless of the cursor position.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "folke/snacks.nvim", opts = {} },
-- add any other plugins here
},
})