Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add .jj to default file exclusion (#21708)

Hendrikbf1525588dfb
diff --git a/assets/settings/default.json b/assets/settings/default.json
index 20819529ff6..3b785806108 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -685,6 +685,7 @@
"**/.git",
"**/.svn",
"**/.hg",
+ "**/.jj",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
diff --git a/crates/worktree/src/worktree_settings.rs b/crates/worktree/src/worktree_settings.rs
index f26dc4af0fd..9535264c92c 100644
--- a/crates/worktree/src/worktree_settings.rs
+++ b/crates/worktree/src/worktree_settings.rs
@@ -40,6 +40,7 @@ pub struct WorktreeSettingsContent {
/// "**/.git",
/// "**/.svn",
/// "**/.hg",
+ /// "**/.jj",
/// "**/CVS",
/// "**/.DS_Store",
/// "**/Thumbs.db",
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md
index d4f8c40dbdc..b51b01a1e70 100644
--- a/docs/src/configuring-zed.md
+++ b/docs/src/configuring-zed.md
@@ -994,6 +994,7 @@ The result is still `)))` and not `))))))`, which is what it would be by default
"**/.git",
"**/.svn",
"**/.hg",
+ "**/.jj"
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",