Skip to content

Commit 20244be

Browse files
authored
fix(parser): expand paths again (#1904)
1 parent c4c168e commit 20244be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neo-tree/command/parser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ end
101101
---@param path string
102102
---@param validate_type string?
103103
M.resolve_path = function(path, validate_type)
104-
local abs_path = utils.path_join(vim.fn.getcwd(), path)
104+
local abs_path = utils.path_join(vim.fn.getcwd(), vim.fn.expand(path))
105105
if validate_type then
106106
local stat = uv.fs_stat(abs_path)
107107
if not stat or stat.type ~= validate_type then

0 commit comments

Comments
 (0)