2KAbhishek / co-author.nvim

Quickly add co-authors to commits 💻🪄
GNU General Public License v3.0
23 stars 2 forks source link

[BUG]: Error on Escape #2

Closed sumanthyedoti closed 1 year ago

sumanthyedoti commented 1 year ago

Description of the bug

On hitting Escape when co-autor UI is open, got this error

Error executing vim.schedule lua callback: ...al/share/nvim/lazy/co-author.nvim/lua/co-author/init.lua:25: attempt to concatenate local 'item' (a nil value)
stack traceback:
        ...al/share/nvim/lazy/co-author.nvim/lua/co-author/init.lua:25: in function 'on_choice'
        ...are/nvim/lazy/dressing.nvim/lua/dressing/select/init.lua:78: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Steps To Reproduce

Hit Escape with the plugin UI open

Additional Information

No response

2KAbhishek commented 1 year ago

Thanks for reporting this, I'll take a look