nvim/lua/plugins/rustacean.lua

24 lines
463 B
Lua

return {
"mrcjkb/rustaceanvim",
lazy = false,
opts = {
server = {
default_settings = {
-- rust-analyzer language server configuration
["rust-analyzer"] = {
cargo = {
targetDir = true,
buildScripts = {
enable = false,
},
},
checkOnSave = true,
-- check = {
-- command = "clippy",
-- },
},
},
},
},
}