mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
Update rust.lua (#935)
This commit is contained in:
parent
acb685c093
commit
1a26b973d1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue