Skip to content

Commit

Permalink
Fix URL open
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Jun 2, 2024
1 parent f7cf77e commit a0d1f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ lspconfig.rust_analyzer.setup({
if err then
error(tostring(err))
else
vim.ui.open(url)
if url then
vim.ui.open(url)
end
end
end)
end,
Expand Down

0 comments on commit a0d1f5b

Please sign in to comment.