|
@@ -95,7 +95,7 @@ else
|
|
cmd = { DATA_PATH .. "/lspinstall/rust/rust-analyzer" },
|
|
cmd = { DATA_PATH .. "/lspinstall/rust/rust-analyzer" },
|
|
on_attach = require("lsp").common_on_attach,
|
|
on_attach = require("lsp").common_on_attach,
|
|
filetypes = { "rust" },
|
|
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
|
|
end
|
|
|
|
|