-
Notifications
You must be signed in to change notification settings - Fork 514
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check docs and existing issues?
- I have read all the lazy.nvim docs
- I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues of lazy.nvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.10.1 Build type: Release LuaJIT 2.1.1725453128
Operating system/version
MacOS 14.4.1
Describe the bug
repro.lua suggested on https://lazy.folke.io/developers#reprolua modify XDG wrongly.
An extra backslash is inserted between .repro and its subdirs.
I encounter this bug when I was trying to install molten.nvim which is a rplugin. Neovim was not able to find path for rplugin.nvim manifest file (Issue)
Steps To Reproduce
Run the following repro.lua with nvim -u repro.lua
In my case I got
/Users/my-user/Developer/test-lazyvim/.repro//data/nvim
/Users/my-user/Developer/test-lazyvim/.repro//config/nvim
/Users/my-user/Developer/test-lazyvim/.repro//cache/nvim
Expected Behavior
Valid paths would be
/Users/my-user/Developer/test-lazyvim/.repro/data/nvim
/Users/my-user/Developer/test-lazyvim/.repro/config/nvim
/Users/my-user/Developer/test-lazyvim/.repro/cache/nvim
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({ spec = { } })
vim.cmd('echo stdpath("data") ')
vim.cmd('echo stdpath("config")')
vim.cmd('echo stdpath("cache") ')Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working