Midnight Exigent пре 4 година
родитељ
комит
1a26b973d1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      ftplugin/rust.lua

+ 1 - 1
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