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.

Disable edit predictions in Zed settings by default (#34401)

Peter Trippc6ef35ba378c
diff --git a/assets/settings/default.json b/assets/settings/default.json
index 9c579b858db..28cf591ee72 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -1210,7 +1210,18 @@
// Any addition to this list will be merged with the default list.
// Globs are matched relative to the worktree root,
// except when starting with a slash (/) or equivalent in Windows.
- "disabled_globs": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/.dev.vars", "**/secrets.yml"],
+ "disabled_globs": [
+ "**/.env*",
+ "**/*.pem",
+ "**/*.key",
+ "**/*.cert",
+ "**/*.crt",
+ "**/.dev.vars",
+ "**/secrets.yml",
+ "**/.zed/settings.json", // zed project settings
+ "/**/zed/settings.json", // zed user settings
+ "/**/zed/keymap.json"
+ ],
// When to show edit predictions previews in buffer.
// This setting takes two possible values:
// 1. Display predictions inline when there are no language server completions available.