diff options
author | Midnight Exigent <[email protected]> | 2021-07-14 17:05:30 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-14 11:05:30 -0400 |
commit | 1a26b973d131a2713da49debd3a078ad32d03d44 (patch) | |
tree | adade2557858205d938ec431de25f950c290b690 /ftplugin | |
parent | acb685c09391fcde4af6ad2557bac86ab4c158ed (diff) |
Update rust.lua (#935)
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/rust.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/rust.lua b/ftplugin/rust.lua index dd34483e..e7103fd1 100644 --- a/ftplugin/rust.lua +++ b/ftplugin/rust.lua @@ -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 |