-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
cannot replicateThe maintainer cannot replicate this issueThe maintainer cannot replicate this issue
Description
Bug Description
When creating a new comment, if I switch tabs (e.g., with gt to see some context of what I'm commenting on), then I get back to the tab with the unfinished comment and try to apply it with perform_action, I get the following error: gitlab.nvim: Could not create discussion: POST https://..................../merge_requests/8/discussions: 400 {message: 400 Bad request - Note {:line_code=>["can't be blank", "must be a valid line code"]}}
Reproduction Steps
- Check out the feature branch
- Open Neovim
- Start a review
- Run
lua require("gitlab").create_comment() - Press
gtto go the next tab (repeat until you get to the tab with the comment popup - Optionally: Type some text into the comment
- Press the
settings.popup.perform_actionkeybinding
Metadata
Metadata
Assignees
Labels
cannot replicateThe maintainer cannot replicate this issueThe maintainer cannot replicate this issue