We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0264db9 commit 42556e3Copy full SHA for 42556e3
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 opts.args or vim.uv.cwd()
+ local path = #opts.args > 0 and vim.fs.abspath(opts.args) or vim.uv.cwd()
9
require('dired').browse_directory(path)
10
end, { nargs = '?' })
11
0 commit comments