return { "mrcjkb/rustaceanvim", lazy = false, opts = { server = { default_settings = { -- rust-analyzer language server configuration ["rust-analyzer"] = { -- rustfmt = { -- overrideCommand = { -- "leptosfmt", -- "--stdin", -- "--rustfmt", -- }, -- }, cargo = { targetDir = true, buildScripts = { enable = false, }, }, procMacro = { enable = true, -- ignored = { -- ["leptos_macro"] = { "component" }, -- }, }, -- files = { -- excludeDirs = { -- ".direnv", -- "target", -- }, -- watcherExclude = { -- ".direnv", -- "target", -- "node_modules" -- }, -- }, checkOnSave = true, check = { command = "clippy", }, }, }, }, }, }