return { "mrcjkb/rustaceanvim", version = "^5", -- Recommended lazy = false, -- This plugin is already lazy config = function() vim.g.rustaceanvim = { server = { on_attach = function(_, _) local map = vim.keymap.set map({ "n", "v" }, "la", "RustLsp codeAction", { desc = "Code action" }) end, default_settings = { ["rust-analyzer"] = { cargo = { allFeatures = true, }, inlayHints = { parameterHints = { enable = false, }, }, }, }, }, tools = { float_win_config = { border = "rounded", }, }, } end, }