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
VectorCode nvim plugin throws errors on start. Seems to continue to work OK, but the errors still show up on every start. After start errors don't appear again, though.
Error executing vim.schedule lua callback: ...Cellar/neovim/0.11.4/share/nvim/runtime/lua/vim/iter.lua:1067: src must be a table or function
stack traceback:
[C]: infunction'error'
...Cellar/neovim/0.11.4/share/nvim/runtime/lua/vim/iter.lua:1067: infunction'iter'
...local/share/nvim/lazy/VectorCode/lua/vectorcode/init.lua:194: infunction''
vim/_editor.lua: infunction<vim/_editor.lua:0>
To Reproduce
Steps to reproduce the behavior:
install VectorCode and nvim plugin following Readme
vectorcode init in a project
open nvim
run :VectorCode <anything> in nvim
Expected behavior
No errors
VectorCode Configuration
Note
I don't use a config.json, neither globally nor in the project. I rely on defaults. Not sure if that has anything to do with it, but figured I'd mention it.
For issues with the Neovim plugin, please also attach your setup options:
{
"Davidyz/VectorCode",
version="*", -- optional, depending on whether you're on nightly or releasebuild="uv tool upgrade vectorcode", -- optional but recommended. This keeps your CLI up-to-date.dependencies= {
"nvim-lua/plenary.nvim",
{
"neovim/nvim-lspconfig",
---@classPluginLspOptsopts= {
servers= { vectorcode_server= {} },
},
},
},
cmd= { "VectorCode" },
---@module"vectorcode"---@typeVectorCode.Opts|{}opts= {
async_backend="lsp",
on_setup= {
update=true, -- whether to update the CLI on setuplsp=true, -- whether to setup the LSP server
},
},
keys= {
{
"<leader>au",
function() returnrequire("vectorcode").update() end,
desc="Update (VectorCode)",
mode= { "n", "v" },
},
},
}
If it only occurs when you use VectorCode with a particular plugin, please
attach the relevant config here:
Platform information:
If the issue is about the neovim plugin, attach the neovim version you're using:
0.11.4
System Information:
For Mac users, please also mention whether you're using intel or apple silicon devices.
OS: MacOS 15.6.1, Apple Silicon (M3)
Additional context
Add any other context about the problem here. Please attach CLI logs
or nvim plugin logs
if applicable.
Describe the bug
VectorCode nvim plugin throws errors on start. Seems to continue to work OK, but the errors still show up on every start. After start errors don't appear again, though.
To Reproduce
Steps to reproduce the behavior:
vectorcode initin a project:VectorCode <anything>innvimExpected behavior
No errors
VectorCode Configuration
Note
I don't use a
config.json, neither globally nor in the project. I rely on defaults. Not sure if that has anything to do with it, but figured I'd mention it.For issues with the Neovim plugin, please also attach your
setupoptions:{ "Davidyz/VectorCode", version = "*", -- optional, depending on whether you're on nightly or release build = "uv tool upgrade vectorcode", -- optional but recommended. This keeps your CLI up-to-date. dependencies = { "nvim-lua/plenary.nvim", { "neovim/nvim-lspconfig", ---@class PluginLspOpts opts = { servers = { vectorcode_server = {} }, }, }, }, cmd = { "VectorCode" }, ---@module "vectorcode" ---@type VectorCode.Opts|{} opts = { async_backend = "lsp", on_setup = { update = true, -- whether to update the CLI on setup lsp = true, -- whether to setup the LSP server }, }, keys = { { "<leader>au", function() return require("vectorcode").update() end, desc = "Update (VectorCode)", mode = { "n", "v" }, }, }, }If it only occurs when you use VectorCode with a particular plugin, please
attach the relevant config here:
Platform information:
System Information:
Additional context
Add any other context about the problem here. Please attach
CLI logs
or
nvim plugin logs
if applicable.