anuvyklack / windows.nvim

Automatically expand width of the current window. Maximizes and restore it. And all this with nice animations!
MIT License
537 stars 15 forks source link

attempt to index local 'curwinLeaf' (a nil value) #41

Open towry opened 9 months ago

towry commented 9 months ago

full log:

E5108: Error executing lua: ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:143: Error executing lua: ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.
lua:162: BufWinEnter Autocommands for "*": Vim(append):Error executing lua callback: ...l/share/nvim/lazy/windows.nvim/lua/windows/lib/frame.lua:98: attempt to index loca
l 'curwinLeaf' (a nil value)
stack traceback:
        ...l/share/nvim/lazy/windows.nvim/lua/windows/lib/frame.lua:98: in function 'autowidth'
        .../nvim/lazy/windows.nvim/lua/windows/calculate-layout.lua:27: in function 'autowidth'
        ...l/share/nvim/lazy/windows.nvim/lua/windows/autowidth.lua:40: in function 'setup_layout'
        ...l/share/nvim/lazy/windows.nvim/lua/windows/autowidth.lua:76: in function <...l/share/nvim/lazy/windows.nvim/lua/windows/autowidth.lua:63>
        [C]: in function 'nvim_win_set_buf'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:162: in function <...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:143>
        [C]: in function 'nvim_win_call'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:143: in function <...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:133>
        vim/shared.lua: in function 'tbl_map'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:119: in function 'unshow'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:216: in function 'delete'
        /Users/towry/.config/nvim/lua/user/plugins/workflow.lua:157: in function </Users/towry/.config/nvim/lua/user/plugins/workflow.lua:156>
stack traceback:
        [C]: in function 'nvim_win_set_buf'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:162: in function <...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:143>
        [C]: in function 'nvim_win_call'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:143: in function <...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:133>
        vim/shared.lua: in function 'tbl_map'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:119: in function 'unshow'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:216: in function 'delete'
        /Users/towry/.config/nvim/lua/user/plugins/workflow.lua:157: in function </Users/towry/.config/nvim/lua/user/plugins/workflow.lua:156>
stack traceback:
        [C]: in function 'nvim_win_call'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:143: in function <...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:133>
        vim/shared.lua: in function 'tbl_map'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:119: in function 'unshow'
        ...al/share/nvim/lazy/mini.bufremove/lua/mini/bufremove.lua:216: in function 'delete'
        /Users/towry/.config/nvim/lua/user/plugins/workflow.lua:157: in function </Users/towry/.config/nvim/lua/user/plugins/workflow.lua:156>