Skip to content

Commit

Permalink
inline the command
Browse files Browse the repository at this point in the history
  • Loading branch information
icholy committed Mar 13, 2024
1 parent 9cb4ca5 commit 75ab851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/lsplinks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ function M.open(uri)
elseif vim.fn.has("win64") == 1 or vim.fn.has("win32") == 1 then
opener = "start"
end
local openCommand = string.format("%s '%s' >/dev/null 2>&1", opener, uri)
vim.fn.system(openCommand)
vim.fn.system(string.format("%s '%s' >/dev/null 2>&1", opener, uri))
end
end
return true
Expand Down

0 comments on commit 75ab851

Please sign in to comment.