Update rust.lua (#935)

This commit is contained in:
Midnight Exigent 2021-07-14 17:05:30 +02:00 committed by GitHub
parent acb685c093
commit 1a26b973d1
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ else
cmd = { DATA_PATH .. "/lspinstall/rust/rust-analyzer" },
on_attach = require("lsp").common_on_attach,
filetypes = { "rust" },
root_dir = require("lspconfig.util").root_pattern("Carrust.toml", "rust-project.json"),
root_dir = require("lspconfig.util").root_pattern("Cargo.toml", "rust-project.json"),
}
end