We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 422a79e commit 55db008Copy full SHA for 55db008
1 file changed
lua/elixir/language_server/init.lua
@@ -275,11 +275,15 @@ function M.setup(opts)
275
}
276
277
if not opts.cmd and not cmd:exists() then
278
- vim.ui.select({ "Yes", "No" }, { prompt = "Install ElixirLS" }, function(choice)
279
- if choice == "Yes" then
280
- install_elixir_ls(vim.tbl_extend("force", repo_options, { install_path = cmd:parent() }))
281
- end
282
- end)
+ if vim.g.elixirnvim_has_prompted_for_install ~= true then
+ vim.ui.select({ "Yes", "No" }, { prompt = "Install ElixirLS" }, function(choice)
+ if choice == "Yes" then
+ install_elixir_ls(vim.tbl_extend("force", repo_options, { install_path = cmd:parent() }))
+ end
283
+
284
+ vim.g.elixirnvim_has_prompted_for_install = true
285
+ end)
286
287
288
return
289
end
0 commit comments