nvim/lua/plugins/rustacean.lua

24 lines
463 B
Lua
Raw Normal View History

2024-07-30 05:55:57 +00:00
return {
"mrcjkb/rustaceanvim",
2024-08-22 07:06:49 +00:00
lazy = false,
2024-07-30 05:55:57 +00:00
opts = {
server = {
default_settings = {
-- rust-analyzer language server configuration
["rust-analyzer"] = {
cargo = {
targetDir = true,
2024-08-22 07:06:49 +00:00
buildScripts = {
enable = false,
},
2024-07-30 05:55:57 +00:00
},
2024-08-22 07:06:49 +00:00
checkOnSave = true,
-- check = {
-- command = "clippy",
-- },
2024-07-30 05:55:57 +00:00
},
},
},
},
}