[BUG] plenary path "not valid path" when directory starts with "$"
When using neotree to copy a file, that is contained in a folder that starts with "$" I get an error "not valid path".
Error executing vim.schedule lua callback: ...m/site/pack/packer/opt/plenary.nvim/lua/plenary/path.lua:339: Path not valid stack traceback: [C]: in function 'error' ...m/site/pack/packer/opt/plenary.nvim/lua/plenary/path.lua:339: in function 'expand' ...m/site/pack/packer/opt/plenary.nvim/lua/plenary/path.lua:711: in function 'is_file' ....nvim/lua/neo-tree/sources/filesystem/lib/fs_actions.lua:228: in function 'name_chosen_callback' ....nvim/lua/neo-tree/sources/filesystem/lib/fs_actions.lua:144: in function 'get_unused_name' ....nvim/lua/neo-tree/sources/filesystem/lib/fs_actions.lua:140: in function 'on_submit' ...vim/site/pack/packer/opt/nui.nvim/lua/nui/input/init.lua:75: in function <...vim/site/pack/packer/opt/nui.nvim/lua/nui/input/init.lua:63>
Can’t reproduce