zeta2: Use bounded parallelism for tree-sitter indexing + await completion in zeta_cli (#39147)

Also skips indexing files that don't have a suffix that indicates a
known language, and skips when the language doesn't have an outline
grammar.

Release Notes:

- N/A

---------

Co-authored-by: Agus <agus@zed.dev>
This commit is contained in:
Michael Sloan
2025-09-29 22:15:00 +00:00
committed by GitHub
co-authored by Agus
parent 9c60bc3837
commit 773850f477
15 changed files with 380 additions and 204 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ impl Markdown {
for path in paths {
if let Ok(language) = registry
.language_for_file_path(Path::new(path.as_ref()))
.load_language_for_file_path(Path::new(path.as_ref()))
.await
{
languages_by_path.insert(path, language);