nvim-neotest / neotest-plenary

MIT License
32 stars 11 forks source link

fix: importing neotest-plenary causing lua print() broken #12

Closed wookayin closed 9 months ago

wookayin commented 9 months ago

Upon require("neotest-plenary"), lua global print() (and hence all lua-based I/O) gets broken. This is because the module "plenary.busted" overrides and shadows global print() as a side-effect.

This is a regression since #10.

Solution: The module "plenary.busted" should never be imported.

wookayin commented 9 months ago

@rcarriga It'd be appreciated if this can be merged ASAP as #10 had a breaking critical bug. Sorry about the trouble, and thanks for your support!