Open enriquegh opened 5 months ago
Which version of nvim 0.10 do you have? The released version?
I have the same issue. neovim 0.10.0-dev which is installed with the 24.04 ubuntu.
I just now switched to the unstable neovim PPA which gave me 0.11.0-dev (built from git today and daily I think) and now I don't get the error.
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: