Pick grep_live puts me in wrong lineno for new buffers
#2517
Contributing guidelines
Module(s)mini.pick QuestionHi! I'm not sure when this started happening, but currently I'm on If I open neovim and do a It is really weird. I tried disabling an autocmd to restore the last cursor position which I had for a looong time, but that didn't solve it, also AFAIK mini.pick changes the cursor synchronously after that. Then I started disabling other plugins too... without success. I'm not sure what is going anymore! |
Replies: 3 comments
|
Uhm ok, I think that I found what is causing the issue, if I disable this line I cannot reproduce the issue anymore: https://github.com/aorith/neovim-flake/blob/424e610ba533f35cff8503aae551e671489afb9f/nvim/plugin/11_mini.lua#L4 Anyone else experiencing this? |
|
This sounds strange and I indeed can reproduce with the following minimized setup:
I haven't yet been able to localize this further. Will take a look later. |
|
Okay, it was very much an advanced exercise of figuring out a minimal reproduction example. This resulted in neovim/neovim#40964. I'll wait a bit for what upstream will do here, but everything points out that this is not a 'mini.pick' issue. And although it (probably) can account for it, I'd rather have this fixed upstream and point users to the new Neovim version. |
Okay, it was very much an advanced exercise of figuring out a minimal reproduction example. This resulted in neovim/neovim#40964.
I'll wait a bit for what upstream will do here, but everything points out that this is not a 'mini.pick' issue. And although it (probably) can account for it, I'd rather have this fixed upstream and point users to the new Neovim version.