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

exists() hangs when it should return false

Open snoblenet opened this issue 1 year ago • 1 comments

You'd expect this to echo true, and this is what happens:

:lua print(require('plenary.path'):new('.'):find_upwards('node_modules'):exists())

You'd expect this to echo false, but instead it just hangs:

:lua print(require('plenary.path'):new('.'):find_upwards('red_herring'):exists())

snoblenet avatar Mar 19 '24 07:03 snoblenet

maybe will fix by https://github.com/nvim-lua/plenary.nvim/pull/562

yuu-no avatar Mar 25 '24 01:03 yuu-no