From 9e9269b52198659639dc84942f37306855ba319f Mon Sep 17 00:00:00 2001 From: Cory Wilhite Date: Wed, 7 Jan 2026 02:44:29 -0800 Subject: [PATCH] settings: Add Sapling directory to default `file_scan_exclusions` (#45837) [Sapling](https://sapling-scm.com/docs/git/git_support_modes/) 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 includes a docs update for these defaults Release Notes: - Settings: Add Sapling directory to default `file_scan_exclusions` --- assets/settings/default.json | 1 + docs/src/configuring-zed.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/assets/settings/default.json b/assets/settings/default.json index 26789e5c3ee5fef84ae73a80451d16e042b26790..fc886fb63cdcb44e3b5d0319c77d2d88875d1692 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1319,6 +1319,7 @@ "**/.svn", "**/.hg", "**/.jj", + "**/.sl", "**/.repo", "**/CVS", "**/.DS_Store", diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index d30d29a7d21a7da81a576c7eb97d24f5e92b2ee6..7d6432c2d7d011d338d46e14542f1313155b61fe 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -1923,6 +1923,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",