Skip to content

Commit 9cc8971

Browse files
committed
update
1 parent 267bc50 commit 9cc8971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/dired.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ end
55
vim.g.loaded_dired = true
66

77
vim.api.nvim_create_user_command('Dired', function(opts)
8-
local path = #opts.args > 0 and vim.fs.abspath(opts.args) or vim.uv.cwd()
8+
local path = #opts.args > 0 and vim.fs.abspath(vim.fs.normalize(opts.args)) or vim.uv.cwd()
99
require('dired').browse_directory(path)
1010
end, { nargs = '?' })
1111

0 commit comments

Comments
 (0)