Describe the bug
When I start neovim, statup.nvim shows up.
I open telescope (whatever window), then close it, I get this error:
Error detected while processing CursorMoved Autocommands for "*":
E5108: Error executing lua ...ite/pack/packer/start/startup.nvim/lua/startup/utils.lua:26: Cursor position outside buffer
stack traceback:
[C]: in function 'nvim_win_set_cursor'
...ite/pack/packer/start/startup.nvim/lua/startup/utils.lua:26: in function 'set_cursor'
...ite/pack/packer/start/startup.nvim/lua/startup/utils.lua:443: in function 'move_down'
...ite/pack/packer/start/startup.nvim/lua/startup/utils.lua:482: in function 'reposition_cursor'
[string ":lua"]:1: in main chunk
When changing the line in e.g. setting the cursor pos to {1,1} I go into an infinite loop and everything explodes.
Checklist
To Reproduce
Steps to reproduce the behavior:
- Open neovim with
startup.nvim dashboard
:Telescope find_files
- 2x
<Esc>
- See error
Expected behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Add your config here
Not sure if it is relevant tbh. Pls let me know :)
Describe the bug
When I start neovim,
statup.nvimshows up.I open telescope (whatever window), then close it, I get this error:
When changing the line in e.g. setting the cursor pos to
{1,1}I go into an infinite loop and everything explodes.Checklist
To Reproduce
Steps to reproduce the behavior:
startup.nvimdashboard:Telescope find_files<Esc>Expected behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Add your config here
Not sure if it is relevant tbh. Pls let me know :)