Bug: `:Octo repo view` command throws error
Subjective opened this issue · comments
Issue Description
Type: bug report
Describe what happened (or what feature you want)
Using the :Octo repo view
command results in the following error message:
Error executing Lua callback: vim/_editor.lua:0: nvim_exec2()..BufReadCmd Autocommands for "octo://*": Vim(append):Error executing lua callback: ...oshua/.local/share/nvim/lazy/octo.nvim/lua/octo/init.lua:96: bad argument #3 to 'graphql' (value expected)
stack traceback:
[C]: in function 'graphql'
...oshua/.local/share/nvim/lazy/octo.nvim/lua/octo/init.lua:96: in function 'load'
...oshua/.local/share/nvim/lazy/octo.nvim/lua/octo/init.lua:81: in function 'load_buffer'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/autocmds.lua:21: in function <...a/.local/share/nvim/lazy/octo.nvim/lua/octo/autocmds.lua:20>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...shua/.local/share/nvim/lazy/octo.nvim/lua/octo/utils.lua:549: in function 'get_repo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:141: in function 'a'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:360: in function 'octo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:16: in function <...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:15>
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...shua/.local/share/nvim/lazy/octo.nvim/lua/octo/utils.lua:549: in function 'get_repo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:141: in function 'a'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:360: in function 'octo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:16: in function <...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:15>
Error executing Lua callback: vim/_editor.lua:0: nvim_exec2()..BufReadCmd Autocommands for "octo://*": Vim(append):Error executing lua callback: ...oshua/.local/share/nvim/lazy/octo.nvim/lua/octo/init.lua:96: bad argument #3 to 'graphql' (value expected)
stack traceback:
[C]: in function 'graphql'
...oshua/.local/share/nvim/lazy/octo.nvim/lua/octo/init.lua:96: in function 'load'
...oshua/.local/share/nvim/lazy/octo.nvim/lua/octo/init.lua:81: in function 'load_buffer'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/autocmds.lua:21: in function <...a/.local/share/nvim/lazy/octo.nvim/lua/octo/autocmds.lua:20>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...shua/.local/share/nvim/lazy/octo.nvim/lua/octo/utils.lua:549: in function 'get_repo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:141: in function 'a'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:360: in function 'octo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:16: in function <...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:15>
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...shua/.local/share/nvim/lazy/octo.nvim/lua/octo/utils.lua:549: in function 'get_repo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:141: in function 'a'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:360: in function 'octo'
...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:16: in function <...a/.local/share/nvim/lazy/octo.nvim/lua/octo/commands.lua:15>
Describe what you expected to happen
To bring up information about the repo associated with the current working directory.
How to reproduce it (as minimally and precisely as possible)
:cd [some git repo]
:Octo repo view
- Error mesage appears
Tell us your environment
MacOS Ventura 13.4
NVIM v0.10.0-dev-664+g0ce391086
Anything else we need to know?
Nope :)