-
Notifications
You must be signed in to change notification settings - Fork 115
bug: updating with lazy.nvim does not work #237
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Neovim version (nvim -v)
v0.9.0-dev-1326+g7c8c15507
Operating system/version
MacOS 13.0.1
Output of :AerialInfo
Aerial Info
Filetype:
Configured backends:
treesitter (not supported) [No treesitter parser for ]
lsp (not supported) [No LSP client found]
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
Describe the bug
Lazy prompts to update, when updating, it fails because of changes to doc/tags.
Double checked that there are no local changes.
Steps To Reproduce
- nvim -u repro.lua
- :Lazy
- U
Expected Behavior
Update successfully
Minimal example file
n/a
Minimal init.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",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
{
"stevearc/aerial.nvim",
config = function()
require("aerial").setup({
-- add your aerial config here
})
end,
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "c", "lua" },
auto_install = true,
highlight = { enable = true },
})
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else hereAdditional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

