bug: No specs found for module "plugins" (Structured Setup) #1875
-
Did you check docs and existing issues?
Neovim version (nvim -v)0.10.2 Operating system/versionFedora Workstation 40 Describe the bugI've followed the Installation instructions and chose 'Structured Setup'. After creating .config/nvim/init.lua and .config/nvim/lua/config/lazy.lua and running nvim it greets me with: Error detected while processing /home/me/.config/nvim/init.lua: :checkhealth lazy reports the issue again. I've tried the Single File Setup as well and the issue did not appear. Upon running a diff between the too I noticed that for the Structured Setup spec is populated with { import = "plugins" } : require("lazy").setup({ Maybe this could be a clue? Steps To Reproduce
Expected BehaviorStructured Setup should not produce the error: Reprovim.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
},
}) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
just to be clear you created the plugins folder at ~/.config/nvim/lua/plugins/ |
Beta Was this translation helpful? Give feedback.
https://lazy.folke.io/usage/structuring provides documentation of where you can go from here