nvim-lua / plenary.nvim

plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.
MIT License
2.69k stars 284 forks source link

fix(path): make find_upwards stop at root #562

Closed betaboon closed 5 months ago

betaboon commented 6 months ago

When there is no file to be found find_upwards gets stuck in an infinite-loop. This PR should address this.

Conni2461 commented 5 months ago

thanks :)