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 recently updated my neovim plugin through lazy.nvim. After updating I get the errors provided below when I open up my neovim.
I am not able to use the plugin because of this error. Any help would be appreciated. Thank you.
Steps to reproduce:
Install plugin and add require("sg").setup() to init.lua
Open neovim and error occurs
Error also occurs when using :SourcegraphLogin
Failed to source $HOME/.config/nvim/after/plugin/cody.lua
vim/_editor.lua:0: $HOME/.config/nvim/init.lua..nvim_exec2() called at $HOME/.config/nvim/init.lua:0..$HOME/.config/nvim/after/plugin/cody.lua: Vim(source):E5113: Error while calling
lua chunk: /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:778: cmd: expected string, got table
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:778: in function 'rpc_start'
...$HOME/.local/share/nvim/lazy/sg.nvim/lua/sg/request.lua:53: in function 'start'
...$HOME/.local/share/nvim/lazy/sg.nvim/lua/sg/init.lua:37: in function 'setup'
$HOME/.config/nvim/after/plugin/cody.lua:1: in main chunk
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:485: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484>
[C]: in function 'xpcall'
.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:113: in function 'try'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484: in function 'source'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:443: in function 'source_runtime'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:144: in function 'startup'
...$HOME/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112: in function 'setup'
$HOME/.config/nvim/lua/andrew/lazy.lua:16: in main chunk
[C]: in function 'require'
$HOME/.config/nvim/lua/andrew/init.lua:1: in main chunk
[C]: in function 'require'
$HOME/.config/nvim/init.lua:6: in main chunk
stacktrace:
vim/_editor.lua:0 incmd
~/.config/nvim/lua/andrew/lazy.lua:16
~/.config/nvim/lua/andrew/init.lua:1
~/.config/nvim/init.lua:6
The text was updated successfully, but these errors were encountered:
User report:
Sourcegraph version: master branch commit hash: 8bdd4d1
Platform information: Ubuntu 20.04.6
NVIM v0.10.0-dev
Description:
I recently updated my neovim plugin through lazy.nvim. After updating I get the errors provided below when I open up my neovim.
I am not able to use the plugin because of this error. Any help would be appreciated. Thank you.
Steps to reproduce:
require("sg").setup()
to init.luaFailed to source
$HOME/.config/nvim/after/plugin/cody.lua
vim/_editor.lua:0: $HOME/.config/nvim/init.lua..nvim_exec2() called at $HOME/.config/nvim/init.lua:0..$HOME/.config/nvim/after/plugin/cody.lua: Vim(source):E5113: Error while calling
lua chunk: /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:778: cmd: expected string, got table
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:778: in function 'rpc_start'
...$HOME/.local/share/nvim/lazy/sg.nvim/lua/sg/request.lua:53: in function 'start'
...$HOME/.local/share/nvim/lazy/sg.nvim/lua/sg/init.lua:37: in function 'setup'
$HOME/.config/nvim/after/plugin/cody.lua:1: in main chunk
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:485: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484>
[C]: in function 'xpcall'
.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:113: in function 'try'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484: in function 'source'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:443: in function 'source_runtime'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:144: in function 'startup'
...$HOME/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112: in function 'setup'
$HOME/.config/nvim/lua/andrew/lazy.lua:16: in main chunk
[C]: in function 'require'
$HOME/.config/nvim/lua/andrew/init.lua:1: in main chunk
[C]: in function 'require'
$HOME/.config/nvim/init.lua:6: in main chunk
stacktrace:
The text was updated successfully, but these errors were encountered: