diff --git a/lua/rua/config/rust-analyzer.lua b/lua/rua/config/rust-analyzer.lua index d495cdb..e62b8d7 100644 --- a/lua/rua/config/rust-analyzer.lua +++ b/lua/rua/config/rust-analyzer.lua @@ -10,12 +10,10 @@ local M = { settings = { ["rust-analyzer"] = { standalone = true, - checkOnSave = { - command = "clippy", - }, - rustfmt = { - overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" }, - }, + checkOnSave = true, + -- rustfmt = { + -- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" }, + -- }, cargo = { allFeatures = true, loadOutDirsFromCheck = true, diff --git a/lua/rua/plugins/lang/rust.lua b/lua/rua/plugins/lang/rust.lua index 4c57e31..14b1a0e 100644 --- a/lua/rua/plugins/lang/rust.lua +++ b/lua/rua/plugins/lang/rust.lua @@ -24,7 +24,7 @@ else }, { "mrcjkb/rustaceanvim", - version = "^5", -- Recommended + version = "^6", -- Recommended ft = { "rust" }, opts = { server = {