diff --git a/plugin/lsp.lua b/plugin/lsp.lua index af7c9f1..32180c5 100644 --- a/plugin/lsp.lua +++ b/plugin/lsp.lua @@ -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,