Open chon-sou opened 3 months ago
further investigation it seems to be in conflict with a BufWritePost
autocommand with vim-gitgutter
I too get this issue, and it is solved by disableing vim-gitgutter
. Is it possible to solve, I haven't looked into it yet, or do you have a workaround for it?
This issue already exists here: https://github.com/pwntester/octo.nvim/issues/441 And a work around is presented there
I had the same, and disabling gitgutter fixed it for me. I found gitsigns can do the same and doesn't interfere with this plugin.
Maybe close this issue, and continue in the other thread.
Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)
I have a PR open i.e. in a octo pr buffer. I type
:Octo review start
. It gives the following error.I can tell the review has started cause running the same command leads to it telling me I can only have one pending review per pr. I proceed to discard it.
If i comment out the following problematic code in
file-entry.lua
it runs fine and displays the diff windows, but subsequent operations will throw error. I dug around and it seems that when it tries to load two new null buffers, it succeeds innvim_buf_set_name
the first one, but it fails in doing so with the second null bufferDescribe what you expected to happen
I expect this command to open two diffsplit windows for the pr and a list of changed files.
How to reproduce it (as minimally and precisely as possible)
Octo pr edit xxxx
Octo review start
Tell us your environment
Anything else we need to know?