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

[BUG] plenary path "not valid path" when directory starts with "$"

Open ghost opened this issue 2 years ago • 1 comments

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>

ghost avatar Mar 09 '23 16:03 ghost

IMG_3244 IMG_3245 Can’t reproduce

SunPodder avatar Jul 10 '23 02:07 SunPodder