Skip to content

Commit

Permalink
fix os string
Browse files Browse the repository at this point in the history
  • Loading branch information
icholy committed Feb 26, 2024
1 parent 033d021 commit 4ecbda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lsplinks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ local function open_browser(uri)
local quoted_uri = '"' .. uri .. '"'
if jit.os == "Windows" then
vim.fn.system("start " .. quoted_uri)
elseif jit.os == "MACOS" then
elseif jit.os == "OSX" then
vim.fn.system("open " .. quoted_uri)
else
vim.fn.system("xdg-open " .. quoted_uri)
Expand Down

0 comments on commit 4ecbda4

Please sign in to comment.