fix: actions.open_external uses explorer.exe in WSL (#273)
This commit is contained in:
parent
bcfe7d1ec5
commit
6953c2c17d
1 changed files with 2 additions and 2 deletions
|
|
@ -184,8 +184,8 @@ local function get_open_cmd(path)
|
|||
else
|
||||
return nil, "rundll32 not found"
|
||||
end
|
||||
elseif vim.fn.executable("wslview") == 1 then
|
||||
return { "wslview", path }
|
||||
elseif vim.fn.executable("explorer.exe") == 1 then
|
||||
return { "explorer.exe", path }
|
||||
elseif vim.fn.executable("xdg-open") == 1 then
|
||||
return { "xdg-open", path }
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue