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
I have a PR open i.e. in a octo pr buffer. I type :Octo review start. It gives the following error.
Error executing vim.schedule lua callback: /Users/chonsou/.vim/plugged/octo.nvim/lua/octo/utils.lua:856: BufFilePost Autocommands for "*"..function <SNR>37_on_buffilepost, line 3: Vim(throw):E488: Trailing ch
aracters: s:renaming[0] a:bufnr
stack traceback:
[C]: in function 'nvim_buf_set_name'
/Users/chonsou/.vim/plugged/octo.nvim/lua/octo/utils.lua:856: in function 'wipe_named_buffer'
...u/.vim/plugged/octo.nvim/lua/octo/reviews/file-entry.lua:470: in function '_get_null_buffer'
...u/.vim/plugged/octo.nvim/lua/octo/reviews/file-entry.lua:442: in function 'load_null_buffer'
...u/.vim/plugged/octo.nvim/lua/octo/reviews/file-entry.lua:438: in function 'load_null_buffers'
...onsou/.vim/plugged/octo.nvim/lua/octo/reviews/layout.lua:203: in function 'file_safeguard'
...onsou/.vim/plugged/octo.nvim/lua/octo/reviews/layout.lua:56: in function 'open'
...chonsou/.vim/plugged/octo.nvim/lua/octo/reviews/init.lua:150: in function 'initiate'
...chonsou/.vim/plugged/octo.nvim/lua/octo/reviews/init.lua:58: in function 'callback'
...chonsou/.vim/plugged/octo.nvim/lua/octo/reviews/init.lua:46: in function 'cb'
/Users/chonsou/.vim/plugged/octo.nvim/lua/octo/gh/init.lua:161: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
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 in nvim_buf_set_name the first one, but it fails in doing so with the second null buffer
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?
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?
The text was updated successfully, but these errors were encountered: