-
The problem is somewhat hard to describe, so I am going to try my best.
If I open nvim in that particular directory, I would get warnings like these:
dap.lua: 1 local dap = require("dap") I suspect the lua loader module is confusing the local dap file with the dap directory in my rtp, causing an infinite require cycle. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hey 👋 I don't think this is related to rocks.nvim. You shouldn't put those files in Your plugin configs can go in Regarding the error message you're seeing: That usually happens when you have cyclic module dependencies. |
Beta Was this translation helpful? Give feedback.
By the way, we also have a rocks-config.nvim module, which helps you safely load your plugins (skipping ones that aren't installed). Maybe that can help in your case?