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 searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.9.0
Operating system/version
MacOS 13.3.1
Describe the bug
After starting vscode, I have this error in the output of vscode-neovim :
Error detected while processing /Users/fveauvy/.config/nvim/init.lua:
E5113: Error while calling lua chunk: .../nvim/lazy/LazyVim/lua/lazyvim/plugins/extras/vscode.lua:28: attempt to call field 'list_contains' (a nil value)
stack traceback:
.../nvim/lazy/LazyVim/lua/lazyvim/plugins/extras/vscode.lua:28: in function 'update_state'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/plugin.lua:418: in function 'load'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:36: in function 'setup'
...eauvy/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:75: in function 'setup'
/Users/fveauvy/.config/nvim/lua/config/lazy.lua:9: in main chunk
[C]: in function 'require'
/Users/fveauvy/.config/nvim/init.lua:2: in main chunk
I was curious and enabled the vscode extra plugin from LazyVim.
I followed the installation steps of the vscode extension "VSCode Neovim".
Steps To Reproduce
Add the vscode extra plugin in the lazy.lua file.
Restart Neovim.
Install VSCode Neovim extension in vscode
Add "extensions.experimental.affinity": { "asvetliakov.vscode-neovim": 1 }, to my vscode settings.
Restart vscode.
I tried to disable all the other extensions in vscode, but to no avail.
Expected Behavior
The vscode extension should process init.lua on startup.
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
"folke/LazyVim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.0
Operating system/version
MacOS 13.3.1
Describe the bug
After starting vscode, I have this error in the output of vscode-neovim :
I was curious and enabled the vscode extra plugin from LazyVim.
I followed the installation steps of the vscode extension "VSCode Neovim".
Steps To Reproduce
lazy.lua
file."extensions.experimental.affinity": { "asvetliakov.vscode-neovim": 1 },
to my vscode settings.I tried to disable all the other extensions in vscode, but to no avail.
Expected Behavior
The vscode extension should process init.lua on startup.
Repro
The text was updated successfully, but these errors were encountered: