-- ============================================================================= -- rustaceanvim.lua — Rust 开发增强 -- ============================================================================= -- 【修复】原文件是空 return {},现在填上完整配置。 -- 【修改】🔧 填充 rustaceanvim 配置,与你的 lspconfig rust_analyzer 配合。 return { "mrcjkb/rustaceanvim", ft = { "rust" }, dependencies = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim", "mfussenegger/nvim-dap", }, opts = { server = { standalone = true, }, }, config = function(_, opts) vim.g.rustaceanvim = opts end, }