-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequsities
- I'm on the latest version of the plugin
- I've installed the required dependencies
- I've run
:h gitlab.nvim.troubleshootingand followed the steps there
Bug Description
Jumping to discussion tree from reviewer doesn't work when the Notes tab is open.
Reproduction Steps
- Check out the feature branch
- Open Neovim and start a review
- Create two comments.
- Switch the discussion tree view from Inline comments to Notes
- Go to the second comment in the reviewer (it has to be the second one so that the cursor position is outside the buffer, see the error message below)
- Press the "Move to discussion" keymap (
aby default)
Error
E5108: Error executing lua: ...lazy/gitlab.nvim/lua/gitlab/actions/discussions/init.lua:182: Cursor position outside buffer
stack traceback:
[C]: in function 'nvim_win_set_cursor'
...lazy/gitlab.nvim/lua/gitlab/actions/discussions/init.lua:182: in function 'jump_after_tree_opened'
...lazy/gitlab.nvim/lua/gitlab/actions/discussions/init.lua:189: in function 'jump_after_menu_selection'
...lazy/gitlab.nvim/lua/gitlab/actions/discussions/init.lua:214: in function 'cb'
.../.local/share/nvim/lazy/gitlab.nvim/lua/gitlab/async.lua:26: in function 'fetch'
.../.local/share/nvim/lazy/gitlab.nvim/lua/gitlab/async.lua:61: in function 'move_to_discussion_tree_from_diagnostic'
...share/nvim/lazy/gitlab.nvim/lua/gitlab/reviewer/init.lua:429: in function <...share/nvim/lazy/gitlab.nvim/lua/gitlab/reviewer/init.lua:428>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working