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