goolord / alpha-nvim

a lua powered greeter like vim-startify / dashboard-nvim
MIT License
1.82k stars 109 forks source link

error when leaving alpha opening a file #115

Closed emmanueltouzery closed 1 year ago

emmanueltouzery commented 2 years ago

alpha has been very stable for me. This is the first issue I have, and I'm pretty sure it won't happen to me again for a long time. But right now I got this error, i have no idea what I did to trigger that:

Error detected while processing WinClosed Autocommands for "*":
E5108: Error executing lua vim/shared.lua:0: opt[table: 0x7fe79a50ba60]: expected table, got number
stack traceback:
    [C]: in function 'error'
    vim/shared.lua: in function 'validate'
    vim/shared.lua: in function 'list_extend'
    ...7me/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:327: in function 'layout'
    ...7me/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:540: in function 'redraw'
    [string ":lua"]:1: in main chunk
    [C]: in function 'nvim_buf_delete'
    ...pack/packer/start/telescope.nvim/lua/telescope/utils.lua:316: in function 'buf_delete'
    ...scope.nvim/lua/telescope/previewers/buffer_previewer.lua:345: in function '_teardown_func'
    ...rt/telescope.nvim/lua/telescope/previewers/previewer.lua:61: in function 'teardown'
    ...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:1462: in function 'on_close_prompt'
    ...acker/start/telescope.nvim/lua/telescope/actions/set.lua:134: in function 'run_replace_or_original'
    ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'run_replace_or_original'
    ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'run_replace_or_original'
    ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func'
    ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:242: in function 'execute_keymap'
    [string ":lua"]:1: in main chunk