fix(rust): ensure rust-analyzer is installed via mason.nvim

This commit is contained in:
Christoph Schmidpeter 2025-10-03 05:17:02 +02:00
parent b9d38f6920
commit 8b78040e44

View file

@ -47,7 +47,7 @@ return {
optional = true, optional = true,
opts = function(_, opts) opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {} opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "codelldb" }) vim.list_extend(opts.ensure_installed, { "codelldb", "rust-analyzer" })
if diagnostics == "bacon-ls" then if diagnostics == "bacon-ls" then
vim.list_extend(opts.ensure_installed, { "bacon" }) vim.list_extend(opts.ensure_installed, { "bacon" })
end end