-
Notifications
You must be signed in to change notification settings - Fork 463
Closed as not planned
Labels
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)
0.10.3
Operating system/version
Windows 11
Describe the bug
On my computer Lazy health returns
even though Luarocks is installed and on path.
If I change
lazy.nvim/lua/lazy/pkg/rockspec.lua
Line 90 in d8f26ef
ok = Health.have("luarocks", opts) |
"luarocks.bat"
to Health.have()
following lazy.nvim/lua/lazy/pkg/rockspec.lua
Lines 154 to 155 in d8f26ef
if Util.is_win then | |
luarocks = luarocks .. ".bat" |
Steps To Reproduce
- Install luarocks on Windows
- Run neovim using minimal repro below
- Run
Lazy health
Expected Behavior
Lazy health
detects installed Luarocks
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 = {
-- add any other plugins here
},
})
Awpteamoose