diff --git a/lua/lazy/util.lua b/lua/lazy/util.lua index 456ad83..23e32b5 100644 --- a/lua/lazy/util.lua +++ b/lua/lazy/util.lua @@ -25,6 +25,8 @@ function M.open(uri) else if vim.fn.executable("xdg-open") then cmd = { "xdg-open", uri } + elseif vim.fn.executable("wslview") then + cmd = { "wslview", uri } else cmd = { "open", uri } end