Enable clippy for rust_analyzer

main
Ensar Sarajčić 2022-07-30 10:51:03 +02:00
parent 47a4b53be7
commit 8dbc3d67c3
2 changed files with 11 additions and 0 deletions

View File

@ -26,6 +26,15 @@ local configuration_overrides = {
lemminx = {
cmd = { "lemminx" },
},
rust_analyzer = {
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy"
},
}
}
}
}
-- Lsp default language servers

View File

@ -1,5 +1,7 @@
[Unit]
Description=Mailbox synchronization service
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot