-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Too many rounds of missing plugins #1563
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Make sure your lazy.nvim version is up to date. Lazy now supports luarocks, so please remove that
|
Running
I removed
Still running This is my neovim:
Replacing |
Can reproduce with: repro.lua-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)
local rest_repo = "https://github.com/rest-nvim/rest.nvim.git"
local rest_path = root .. "/tmp/rest.nvim"
vim.fn.mkdir(root .. "/tmp", "p")
if not vim.loop.fs_stat(rest_path) then
vim.fn.system({ "git", "clone", "--filter=blob:none", rest_repo, rest_path })
end
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
{
-- "rest-nvim/rest.nvim",
dir = rest_path,
branch = "main",
ft = "http",
opts = {},
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here Will look into it! |
Thanks, tested the this fixes the issue. |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-196+g2ce4a4d91
Operating system/version
Debian GNU/Linux 12 (bookworm)
Describe the bug
After latest Lazy vim update I get this error everytime I open vim:
Steps To Reproduce
After removing all my plugins and adding them back one by one the issue seems to be with the rest-nvim/rest.nvim plugin that I load from a local directory. Note that loading it directly from github does not show the problem. The problem appears when I load the plugin from a local directory like below:
Expected Behavior
No error is shown.
Repro
The text was updated successfully, but these errors were encountered: