From 609421d793d512fe93bad59c505a839cf250eb35 Mon Sep 17 00:00:00 2001 From: Cory Wilhite Date: Mon, 29 Dec 2025 11:57:45 -0800 Subject: [PATCH 1/2] Add Sapling directory to default file_scan_exclusions Sapling (https://sapling-scm.com/) is similar to git / hg / jj in that it creates a /.sl directory when initializing a repository. This can be added alongside the other source control scan exclusions --- assets/settings/default.json | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/settings/default.json b/assets/settings/default.json index 746ccb5986d0fd..2daba458b4b9ed 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1308,6 +1308,7 @@ "**/.svn", "**/.hg", "**/.jj", + "**/.sl", "**/.repo", "**/CVS", "**/.DS_Store", From f922060d8981e8ecfcf76feb17d0e376b4dfe758 Mon Sep 17 00:00:00 2001 From: Cory Wilhite Date: Mon, 29 Dec 2025 12:09:43 -0800 Subject: [PATCH 2/2] Update docs for file_scan_exclusions defaults Adds .sl as part of this patch, and includes a missing .repo default exclusion that didn't make it to the docs --- docs/src/configuring-zed.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index 81318aa8885fe8..17228a79806425 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -1902,6 +1902,8 @@ The result is still `)))` and not `))))))`, which is what it would be by default "**/.svn", "**/.hg", "**/.jj", + "**/.sl", + "**/.repo", "**/CVS", "**/.DS_Store", "**/Thumbs.db",