We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Util.open
1 parent b5eb07e commit 4917222Copy full SHA for 4917222
lua/lazy/util.lua
@@ -23,9 +23,9 @@ function M.open(uri)
23
elseif vim.fn.has("macunix") == 1 then
24
cmd = { "open", uri }
25
else
26
- if vim.fn.executable("xdg-open") then
+ if vim.fn.executable("xdg-open") == 1 then
27
cmd = { "xdg-open", uri }
28
- elseif vim.fn.executable("wslview") then
+ elseif vim.fn.executable("wslview") == 1 then
29
cmd = { "wslview", uri }
30
31
0 commit comments