We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267bc50 commit 9cc8971Copy full SHA for 9cc8971
plugin/dired.lua
@@ -5,7 +5,7 @@ end
5
vim.g.loaded_dired = true
6
7
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()
+ local path = #opts.args > 0 and vim.fs.abspath(vim.fs.normalize(opts.args)) or vim.uv.cwd()
9
require('dired').browse_directory(path)
10
end, { nargs = '?' })
11
0 commit comments