-
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
Setting branches does not work and :Lazy log looks broken. #117
Comments
Sidenode: github has predefined text areas for filling multiple windows: https://github.com/ziglang/zig/issues/new?assignees=&labels=error+message&template=error_message.yml Other observation: I dont see many tests. Might be useful to add a procedure to collect them. For example I could not spot tests for |
Just came to report |
I can't reproduce this with the below: 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 = {
-- do not remove the colorscheme!
"folke/tokyonight.nvim",
-- add any other pugins here
"hrsh7th/nvim-cmp",
{ "hrsh7th/cmp-cmdline", branch = "main" },
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
-- add anything else here
vim.opt.termguicolors = true
-- do not remove the colorscheme!
vim.cmd([[colorscheme tokyonight]]) |
@olimorris I just added some extra details to the error message about extmarks. Would be great if you could update and post back the error message you got |
Yeah I'm still getting an error. If I happen to be in the
Additional Info:
|
@folke latest commit has fixed the log issue 👍🏼 |
@matu3ba the error you're getting is from I suspect a bad internet connection made the initial clone/checkout fail? Closing this. Doesn't seem right |
@folke Some weird cache issue. rm -fr $HOME/.cache/nvim/lazy
rm -fr $HOME/.local/share/nvim/lazy
rm -fr $HOME/.local/share/nvim/size/pack solved my problems. |
you dont need to specify a branch at all |
waiting for folke/lazy.nvim#117 on where to put tests etc. then proceed moving config.
Describe the bug
I get a bunch of
even though I have set
{ 'hrsh7th/cmp-cmdline', branch = 'main' },
inside myplugins.lua
file.Which version of Neovim are you using?
Gui(specify which GUI client you are using)? Nightly? Version? NVIM v0.9.0-dev-546+g98daaa798
To Reproduce
Make sure to read https://github.com/folke/lazy.nvim/wiki/Minimal-%60init.lua%60-to-Reproduce-an-Issue
The reproduction script should contain instructions how to create a file from verbatim string for the used plugins.
A minimal config is:
and init.lua
Steps to reproduce the behavior:
Expected Behavior
Correct cloning or git fetch + git merge --ff-only.
Screenshots
![Screenshot_20221223_005058](https://user-images.githubusercontent.com/13089667/209244385-c3ffa21d-d48b-4495-afbb-2500ce00669e.png)
If applicable, add screenshots to help explain your problem.
Log
:Lazy log
execution fails with the following error:The text was updated successfully, but these errors were encountered: