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

In Zed settings, json schema based LSP autocomplete is very good, edit
predictions are not.
Disable the latter by default.

Release Notes:

- N/A
This commit is contained in:
Peter Tripp 2025-08-08 17:05:28 -04:00 committed by GitHub
parent 91474e247f
commit c6ef35ba37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1210,7 +1210,18 @@
// Any addition to this list will be merged with the default list. // Any addition to this list will be merged with the default list.
// Globs are matched relative to the worktree root, // Globs are matched relative to the worktree root,
// except when starting with a slash (/) or equivalent in Windows. // 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. // When to show edit predictions previews in buffer.
// This setting takes two possible values: // This setting takes two possible values:
// 1. Display predictions inline when there are no language server completions available. // 1. Display predictions inline when there are no language server completions available.