plenary.nvim icon indicating copy to clipboard operation
plenary.nvim copied to clipboard

PLENARY_DEBUG true by default?

Open chase opened this issue 4 years ago • 1 comments

When PLENARY_DEBUG is set to true, it forces a reload of any lazy loaded plenary modules which breaks the cache in impatient.nvim

This line forces PLENARY_DEBUG to be on by default instead of off by default, which seems like a mistake: https://github.com/nvim-lua/plenary.nvim/blob/master/lua/plenary/init.lua#L1

@tjdevries Can you provide insight as to why this is necessary?

chase avatar Sep 06 '21 12:09 chase

unless you do require("plenary").path rather than require("plenary.path") (path is here an example for any module) this shouldn't be an issue.

We can still drop this thought, imo

Conni2461 avatar May 12 '22 15:05 Conni2461