github.com
Fix: filename with newline by jhonnyV-V · Pull Request #534 · stevearc/oil.nvim
If a file has a newline character in a filename for unknown reason (in my case turns out bun $().text() returns a new line) oil would crash, this should fix the issue, I am not really familiar with...