Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make `prefer_line` the default soft-wrap behavior. (#11542)
Owen Law47c12c656386
diff --git a/assets/settings/default.json b/assets/settings/default.jsonindex de6da01f87e..a5c6371dd34 100644--- a/assets/settings/default.json+++ b/assets/settings/default.json@@ -370,11 +370,13 @@//// 1. Do not soft wrap.// "soft_wrap": "none",- // 2. Soft wrap lines that overflow the editor:+ // 2. Prefer a single line generally, unless an overly long line is encountered.+ // "soft_wrap": "prefer_line",+ // 3. Soft wrap lines that overflow the editor:// "soft_wrap": "editor_width",- // 3. Soft wrap lines at the preferred line length+ // 4. Soft wrap lines at the preferred line length// "soft_wrap": "preferred_line_length",- "soft_wrap": "none",+ "soft_wrap": "prefer_line",// The column at which to soft-wrap lines, for buffers where soft-wrap// is enabled."preferred_line_length": 80,@@ -598,7 +600,12 @@"format_on_save": "off"},"Elixir": {- "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]+ "language_servers": [+ "elixir-ls",+ "!next-ls",+ "!lexical",+ "..."+ ]},"Gleam": {"tab_size": 2@@ -609,7 +616,12 @@}},"HEEX": {- "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]+ "language_servers": [+ "elixir-ls",+ "!next-ls",+ "!lexical",+ "..."+ ]},"Make": {"hard_tabs": true