diff --git a/lua/neo-tree/command/parser.lua b/lua/neo-tree/command/parser.lua index f9c5b489..0be31748 100644 --- a/lua/neo-tree/command/parser.lua +++ b/lua/neo-tree/command/parser.lua @@ -79,6 +79,7 @@ M.setup = function(all_source_names) end M.resolve_path = function(path, validate_type) + path = vim.fs.normalize(path) local expanded = vim.fn.expand(path) local abs_path = vim.fn.fnamemodify(expanded, ":p") if validate_type then