You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The split for discussions cannot be created when there are no discussions/notes.
Reproduction Steps
Check out the feature branch for which no discussions exist in the MR
Open Neovim
Run :lua require("gitlab").review()
You will get the following error:
gitlab.nvim: No discussions, notes, or draft notes for this MR
Error executing vim.schedule lua callback: ...b/projects/feat4/lua/gitlab/actions/discussions/init.lua:117: attempt to index field 'split' (a nil value)
stack traceback:
...b/projects/feat4/lua/gitlab/actions/discussions/init.lua:117: in function 'cb'
/home/jakub/projects/feat4/lua/gitlab/async.lua:26: in function 'fetch'
/home/jakub/projects/feat4/lua/gitlab/async.lua:42: in function 'callback'
/home/jakub/projects/feat4/lua/gitlab/job.lua:40: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
The text was updated successfully, but these errors were encountered:
Fixed in develop by #273 and #275, if not let me know here with another comment. Thanks for pointing this out, there were some refresh issues with empty state.
Prerequsities
:h gitlab.nvim.troubleshooting
and followed the steps thereSetup Configuration and Environment
Bug Description
The split for discussions cannot be created when there are no discussions/notes.
Reproduction Steps
:lua require("gitlab").review()
The text was updated successfully, but these errors were encountered: