default.json

   1{
   2  // The name of the Zed theme to use for the UI.
   3  //
   4  // `mode` is one of:
   5  // - "system": Use the theme that corresponds to the system's appearance
   6  // - "light": Use the theme indicated by the "light" field
   7  // - "dark": Use the theme indicated by the "dark" field
   8  "theme": {
   9    "mode": "system",
  10    "light": "One Light",
  11    "dark": "One Dark"
  12  },
  13  "icon_theme": "Zed (Default)",
  14  // The name of a base set of key bindings to use.
  15  // This setting can take six values, each named after another
  16  // text editor:
  17  //
  18  // 1. "VSCode"
  19  // 2. "Atom"
  20  // 3. "JetBrains"
  21  // 4. "None"
  22  // 5. "SublimeText"
  23  // 6. "TextMate"
  24  "base_keymap": "VSCode",
  25  // Features that can be globally enabled or disabled
  26  "features": {
  27    // Which edit prediction provider to use.
  28    "edit_prediction_provider": "copilot"
  29  },
  30  // The name of a font to use for rendering text in the editor
  31  "buffer_font_family": "Zed Plex Mono",
  32  // Set the buffer text's font fallbacks, this will be merged with
  33  // the platform's default fallbacks.
  34  "buffer_font_fallbacks": null,
  35  // The OpenType features to enable for text in the editor.
  36  "buffer_font_features": {
  37    // Disable ligatures:
  38    // "calt": false
  39  },
  40  // The default font size for text in the editor
  41  "buffer_font_size": 15,
  42  // The weight of the editor font in standard CSS units from 100 to 900.
  43  "buffer_font_weight": 400,
  44  // Set the buffer's line height.
  45  // May take 3 values:
  46  //  1. Use a line height that's comfortable for reading (1.618)
  47  //         "buffer_line_height": "comfortable"
  48  //  2. Use a standard line height, (1.3)
  49  //         "buffer_line_height": "standard",
  50  //  3. Use a custom line height
  51  //         "buffer_line_height": {
  52  //           "custom": 2
  53  //         },
  54  "buffer_line_height": "comfortable",
  55  // The name of a font to use for rendering text in the UI
  56  // You can set this to ".SystemUIFont" to use the system font
  57  "ui_font_family": "Zed Plex Sans",
  58  // Set the UI's font fallbacks, this will be merged with the platform's
  59  // default font fallbacks.
  60  "ui_font_fallbacks": null,
  61  // The OpenType features to enable for text in the UI
  62  "ui_font_features": {
  63    // Disable ligatures:
  64    "calt": false
  65  },
  66  // The weight of the UI font in standard CSS units from 100 to 900.
  67  "ui_font_weight": 400,
  68  // The default font size for text in the UI
  69  "ui_font_size": 16,
  70  // How much to fade out unused code.
  71  "unnecessary_code_fade": 0.3,
  72  // Active pane styling settings.
  73  "active_pane_modifiers": {
  74    // The factor to grow the active pane by. Defaults to 1.0
  75    // which gives the same size as all other panes.
  76    "magnification": 1.0,
  77    // Inset border size of the active pane, in pixels.
  78    "border_size": 0.0,
  79    // Opacity of the inactive panes. 0 means transparent, 1 means opaque.
  80    // Values are clamped to the [0.0, 1.0] range.
  81    "inactive_opacity": 1.0
  82  },
  83  // The direction that you want to split panes horizontally. Defaults to "up"
  84  "pane_split_direction_horizontal": "up",
  85  // The direction that you want to split panes horizontally. Defaults to "left"
  86  "pane_split_direction_vertical": "left",
  87  // Centered layout related settings.
  88  "centered_layout": {
  89    // The relative width of the left padding of the central pane from the
  90    // workspace when the centered layout is used.
  91    "left_padding": 0.2,
  92    // The relative width of the right padding of the central pane from the
  93    // workspace when the centered layout is used.
  94    "right_padding": 0.2
  95  },
  96  // All settings related to the image viewer.
  97  "image_viewer": {
  98    // The unit for image file sizes.
  99    // By default we're setting it to binary.
 100    // The second option is decimal.
 101    "unit": "binary"
 102  },
 103  // The key to use for adding multiple cursors
 104  // Currently "alt" or "cmd_or_ctrl"  (also aliased as
 105  // "cmd" and "ctrl") are supported.
 106  "multi_cursor_modifier": "alt",
 107  // Whether to enable vim modes and key bindings.
 108  "vim_mode": false,
 109  // Whether to show the informational hover box when moving the mouse
 110  // over symbols in the editor.
 111  "hover_popover_enabled": true,
 112  // Time to wait before showing the informational hover box
 113  "hover_popover_delay": 350,
 114  // Whether to confirm before quitting Zed.
 115  "confirm_quit": false,
 116  // Whether to restore last closed project when fresh Zed instance is opened.
 117  "restore_on_startup": "last_session",
 118  // Size of the drop target in the editor.
 119  "drop_target_size": 0.2,
 120  // Whether the window should be closed when using 'close active item' on a window with no tabs.
 121  // May take 3 values:
 122  //  1. Use the current platform's convention
 123  //         "when_closing_with_no_tabs": "platform_default"
 124  //  2. Always close the window:
 125  //         "when_closing_with_no_tabs": "close_window",
 126  //  3. Never close the window
 127  //         "when_closing_with_no_tabs": "keep_window_open",
 128  "when_closing_with_no_tabs": "platform_default",
 129  // What to do when the last window is closed.
 130  // May take 2 values:
 131  //  1. Use the current platform's convention
 132  //         "on_last_window_closed": "platform_default"
 133  //  2. Always quit the application
 134  //         "on_last_window_closed": "quit_app",
 135  "on_last_window_closed": "platform_default",
 136  // Whether to use the system provided dialogs for Open and Save As.
 137  // When set to false, Zed will use the built-in keyboard-first pickers.
 138  "use_system_path_prompts": true,
 139  // Whether the cursor blinks in the editor.
 140  "cursor_blink": true,
 141  // Cursor shape for the default editor.
 142  //  1. A vertical bar
 143  //     "bar"
 144  //  2. A block that surrounds the following character
 145  //     "block"
 146  //  3. An underline / underscore that runs along the following character
 147  //     "underline"
 148  //  4. A box drawn around the following character
 149  //     "hollow"
 150  //
 151  // Default: not set, defaults to "bar"
 152  "cursor_shape": null,
 153  // How to highlight the current line in the editor.
 154  //
 155  // 1. Don't highlight the current line:
 156  //    "none"
 157  // 2. Highlight the gutter area:
 158  //    "gutter"
 159  // 3. Highlight the editor area:
 160  //    "line"
 161  // 4. Highlight the full line (default):
 162  //    "all"
 163  "current_line_highlight": "all",
 164  // Whether to highlight all occurrences of the selected text in an editor.
 165  "selection_highlight": true,
 166  // The debounce delay before querying highlights based on the selected text.
 167  "selection_highlight_debounce": 50,
 168  // The debounce delay before querying highlights from the language
 169  // server based on the current cursor location.
 170  "lsp_highlight_debounce": 75,
 171  // Whether to pop the completions menu while typing in an editor without
 172  // explicitly requesting it.
 173  "show_completions_on_input": true,
 174  // Whether to display inline and alongside documentation for items in the
 175  // completions menu
 176  "show_completion_documentation": true,
 177  // Show method signatures in the editor, when inside parentheses.
 178  "auto_signature_help": false,
 179  // Whether to show the signature help after completion or a bracket pair inserted.
 180  // If `auto_signature_help` is enabled, this setting will be treated as enabled also.
 181  "show_signature_help_after_edits": false,
 182  // Whether to show wrap guides (vertical rulers) in the editor.
 183  // Setting this to true will show a guide at the 'preferred_line_length' value
 184  // if 'soft_wrap' is set to 'preferred_line_length', and will show any
 185  // additional guides as specified by the 'wrap_guides' setting.
 186  "show_wrap_guides": true,
 187  // Character counts at which to show wrap guides in the editor.
 188  "wrap_guides": [],
 189  // Hide the values of in variables from visual display in private files
 190  "redact_private_values": false,
 191  // The default number of lines to expand excerpts in the multibuffer by.
 192  "expand_excerpt_lines": 3,
 193  // Globs to match against file paths to determine if a file is private.
 194  "private_files": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"],
 195  // Whether to use additional LSP queries to format (and amend) the code after
 196  // every "trigger" symbol input, defined by LSP server capabilities.
 197  "use_on_type_format": true,
 198  // Whether to automatically add matching closing characters when typing
 199  // opening parenthesis, bracket, brace, single or double quote characters.
 200  // For example, when you type (, Zed will add a closing ) at the correct position.
 201  "use_autoclose": true,
 202  // Whether to automatically surround selected text when typing opening parenthesis,
 203  // bracket, brace, single or double quote characters.
 204  // For example, when you select text and type (, Zed will surround the text with ().
 205  "use_auto_surround": true,
 206  // Whether indentation of pasted content should be adjusted based on the context.
 207  "auto_indent_on_paste": true,
 208  // Controls how the editor handles the autoclosed characters.
 209  // When set to `false`(default), skipping over and auto-removing of the closing characters
 210  // happen only for auto-inserted characters.
 211  // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
 212  // no matter how they were inserted.
 213  "always_treat_brackets_as_autoclosed": false,
 214  // Controls where the `editor::Rewrap` action is allowed in the current language scope.
 215  //
 216  // This setting can take three values:
 217  //
 218  // 1. Only allow rewrapping in comments:
 219  //    "in_comments"
 220  // 2. Only allow rewrapping in the current selection(s):
 221  //    "in_selections"
 222  // 3. Allow rewrapping anywhere:
 223  //    "anywhere"
 224  //
 225  // When using values other than `in_comments`, it is possible for the rewrapping to produce code
 226  // that is syntactically invalid. Keep this in mind when selecting which behavior you would like
 227  // to use.
 228  //
 229  // Note: This setting has no effect in Vim mode, as rewrap is already allowed everywhere.
 230  "allow_rewrap": "in_comments",
 231  // Controls whether edit predictions are shown immediately (true)
 232  // or manually by triggering `editor::ShowEditPrediction` (false).
 233  "show_edit_predictions": true,
 234  // Controls whether edit predictions are shown in a given language scope.
 235  // Example: ["string", "comment"]
 236  "edit_predictions_disabled_in": [],
 237  // Whether to show tabs and spaces in the editor.
 238  // This setting can take four values:
 239  //
 240  // 1. Draw tabs and spaces only for the selected text (default):
 241  //    "selection"
 242  // 2. Do not draw any tabs or spaces:
 243  //    "none"
 244  // 3. Draw all invisible symbols:
 245  //    "all"
 246  // 4. Draw whitespaces at boundaries only:
 247  //    "boundary"
 248  // For a whitespace to be on a boundary, any of the following conditions need to be met:
 249  // - It is a tab
 250  // - It is adjacent to an edge (start or end)
 251  // - It is adjacent to a whitespace (left or right)
 252  "show_whitespaces": "selection",
 253  // Settings related to calls in Zed
 254  "calls": {
 255    // Join calls with the microphone live by default
 256    "mute_on_join": false,
 257    // Share your project when you are the first to join a channel
 258    "share_on_join": false
 259  },
 260  // Toolbar related settings
 261  "toolbar": {
 262    // Whether to show breadcrumbs.
 263    "breadcrumbs": true,
 264    // Whether to show quick action buttons.
 265    "quick_actions": true,
 266    // Whether to show the Selections menu in the editor toolbar
 267    "selections_menu": true
 268  },
 269  // Scrollbar related settings
 270  "scrollbar": {
 271    // When to show the scrollbar in the editor.
 272    // This setting can take four values:
 273    //
 274    // 1. Show the scrollbar if there's important information or
 275    //    follow the system's configured behavior (default):
 276    //   "auto"
 277    // 2. Match the system's configured behavior:
 278    //    "system"
 279    // 3. Always show the scrollbar:
 280    //    "always"
 281    // 4. Never show the scrollbar:
 282    //    "never"
 283    "show": "auto",
 284    // Whether to show cursor positions in the scrollbar.
 285    "cursors": true,
 286    // Whether to show git diff indicators in the scrollbar.
 287    "git_diff": true,
 288    // Whether to show buffer search results in the scrollbar.
 289    "search_results": true,
 290    // Whether to show selected text occurrences in the scrollbar.
 291    "selected_text": true,
 292    // Whether to show selected symbol occurrences in the scrollbar.
 293    "selected_symbol": true,
 294    // Which diagnostic indicators to show in the scrollbar:
 295    //  - "none" or false: do not show diagnostics
 296    //  - "error": show only errors
 297    //  - "warning": show only errors and warnings
 298    //  - "information": show only errors, warnings, and information
 299    //  - "all" or true: show all diagnostics
 300    "diagnostics": "all",
 301    // Forcefully enable or disable the scrollbar for each axis
 302    "axes": {
 303      // When false, forcefully disables the horizontal scrollbar. Otherwise, obey other settings.
 304      "horizontal": true,
 305      // When false, forcefully disables the vertical scrollbar. Otherwise, obey other settings.
 306      "vertical": true
 307    }
 308  },
 309  // Enable middle-click paste on Linux.
 310  "middle_click_paste": true,
 311  // What to do when multibuffer is double clicked in some of its excerpts
 312  // (parts of singleton buffers).
 313  // May take 2 values:
 314  //  1. Behave as a regular buffer and select the whole word (default).
 315  //         "double_click_in_multibuffer": "select"
 316  //  2. Open the excerpt clicked as a new buffer in the new tab.
 317  //         "double_click_in_multibuffer": "open",
 318  // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
 319  "double_click_in_multibuffer": "select",
 320  "gutter": {
 321    // Whether to show line numbers in the gutter.
 322    "line_numbers": true,
 323    // Whether to show code action buttons in the gutter.
 324    "code_actions": true,
 325    // Whether to show runnables buttons in the gutter.
 326    "runnables": true,
 327    // Whether to show breakpoints in the gutter.
 328    "breakpoints": true,
 329    // Whether to show fold buttons in the gutter.
 330    "folds": true
 331  },
 332  "indent_guides": {
 333    // Whether to show indent guides in the editor.
 334    "enabled": true,
 335    // The width of the indent guides in pixels, between 1 and 10.
 336    "line_width": 1,
 337    // The width of the active indent guide in pixels, between 1 and 10.
 338    "active_line_width": 1,
 339    // Determines how indent guides are colored.
 340    // This setting can take the following three values:
 341    //
 342    // 1. "disabled"
 343    // 2. "fixed"
 344    // 3. "indent_aware"
 345    "coloring": "fixed",
 346    // Determines how indent guide backgrounds are colored.
 347    // This setting can take the following two values:
 348    //
 349    // 1. "disabled"
 350    // 2. "indent_aware"
 351    "background_coloring": "disabled"
 352  },
 353  // Whether the editor will scroll beyond the last line.
 354  "scroll_beyond_last_line": "one_page",
 355  // The number of lines to keep above/below the cursor when scrolling.
 356  "vertical_scroll_margin": 3,
 357  // Whether to scroll when clicking near the edge of the visible text area.
 358  "autoscroll_on_clicks": false,
 359  // The number of characters to keep on either side when scrolling with the mouse
 360  "horizontal_scroll_margin": 5,
 361  // Scroll sensitivity multiplier. This multiplier is applied
 362  // to both the horizontal and vertical delta values while scrolling.
 363  "scroll_sensitivity": 1.0,
 364  "relative_line_numbers": false,
 365  // If 'search_wrap' is disabled, search result do not wrap around the end of the file.
 366  "search_wrap": true,
 367  // Search options to enable by default when opening new project and buffer searches.
 368  "search": {
 369    "whole_word": false,
 370    "case_sensitive": false,
 371    "include_ignored": false,
 372    "regex": false
 373  },
 374  // When to populate a new search's query based on the text under the cursor.
 375  // This setting can take the following three values:
 376  //
 377  // 1. Always populate the search query with the word under the cursor (default).
 378  //    "always"
 379  // 2. Only populate the search query when there is text selected
 380  //    "selection"
 381  // 3. Never populate the search query
 382  //    "never"
 383  "seed_search_query_from_cursor": "always",
 384  // When enabled, automatically adjusts search case sensitivity based on your query.
 385  // If your search query contains any uppercase letters, the search becomes case-sensitive;
 386  // if it contains only lowercase letters, the search becomes case-insensitive.
 387  "use_smartcase_search": false,
 388  // Inlay hint related settings
 389  "inlay_hints": {
 390    // Global switch to toggle hints on and off, switched off by default.
 391    "enabled": false,
 392    // Toggle certain types of hints on and off, all switched on by default.
 393    "show_type_hints": true,
 394    "show_parameter_hints": true,
 395    // Corresponds to null/None LSP hint type value.
 396    "show_other_hints": true,
 397    // Whether to show a background for inlay hints.
 398    //
 399    // If set to `true`, the background will use the `hint.background` color from the current theme.
 400    "show_background": false,
 401    // Time to wait after editing the buffer, before requesting the hints,
 402    // set to 0 to disable debouncing.
 403    "edit_debounce_ms": 700,
 404    // Time to wait after scrolling the buffer, before requesting the hints,
 405    // set to 0 to disable debouncing.
 406    "scroll_debounce_ms": 50,
 407    // A set of modifiers which, when pressed, will toggle the visibility of inlay hints.
 408    // If the set if empty or not all the modifiers specified are pressed, inlay hints will not be toggled.
 409    "toggle_on_modifiers_press": {
 410      "control": false,
 411      "shift": false,
 412      "alt": false,
 413      "platform": false,
 414      "function": false
 415    }
 416  },
 417  "project_panel": {
 418    // Whether to show the project panel button in the status bar
 419    "button": true,
 420    // Default width of the project panel.
 421    "default_width": 240,
 422    // Where to dock the project panel. Can be 'left' or 'right'.
 423    "dock": "left",
 424    // Spacing between worktree entries in the project panel. Can be 'comfortable' or 'standard'.
 425    "entry_spacing": "comfortable",
 426    // Whether to show file icons in the project panel.
 427    "file_icons": true,
 428    // Whether to show folder icons or chevrons for directories in the project panel.
 429    "folder_icons": true,
 430    // Whether to show the git status in the project panel.
 431    "git_status": true,
 432    // Amount of indentation for nested items.
 433    "indent_size": 20,
 434    // Whether to reveal it in the project panel automatically,
 435    // when a corresponding project entry becomes active.
 436    // Gitignored entries are never auto revealed.
 437    "auto_reveal_entries": true,
 438    // Whether to fold directories automatically and show compact folders
 439    // (e.g. "a/b/c" ) when a directory has only one subdirectory inside.
 440    "auto_fold_dirs": true,
 441    // Scrollbar-related settings
 442    "scrollbar": {
 443      // When to show the scrollbar in the project panel.
 444      // This setting can take five values:
 445      //
 446      // 1. null (default): Inherit editor settings
 447      // 2. Show the scrollbar if there's important information or
 448      //    follow the system's configured behavior (default):
 449      //   "auto"
 450      // 3. Match the system's configured behavior:
 451      //    "system"
 452      // 4. Always show the scrollbar:
 453      //    "always"
 454      // 5. Never show the scrollbar:
 455      //    "never"
 456      "show": null
 457    },
 458    // Which files containing diagnostic errors/warnings to mark in the project panel.
 459    // This setting can take the following three values:
 460    //
 461    // 1. Do not mark any files:
 462    //    "off"
 463    // 2. Only mark files with errors:
 464    //    "errors"
 465    // 3. Mark files with errors and warnings:
 466    //    "all"
 467    "show_diagnostics": "all",
 468    // Settings related to indent guides in the project panel.
 469    "indent_guides": {
 470      // When to show indent guides in the project panel.
 471      // This setting can take two values:
 472      //
 473      // 1. Always show indent guides:
 474      //    "always"
 475      // 2. Never show indent guides:
 476      //    "never"
 477      "show": "always"
 478    }
 479  },
 480  "outline_panel": {
 481    // Whether to show the outline panel button in the status bar
 482    "button": true,
 483    // Default width of the outline panel.
 484    "default_width": 300,
 485    // Where to dock the outline panel. Can be 'left' or 'right'.
 486    "dock": "left",
 487    // Whether to show file icons in the outline panel.
 488    "file_icons": true,
 489    // Whether to show folder icons or chevrons for directories in the outline panel.
 490    "folder_icons": true,
 491    // Whether to show the git status in the outline panel.
 492    "git_status": true,
 493    // Amount of indentation for nested items.
 494    "indent_size": 20,
 495    // Whether to reveal it in the outline panel automatically,
 496    // when a corresponding outline entry becomes active.
 497    // Gitignored entries are never auto revealed.
 498    "auto_reveal_entries": true,
 499    // Whether to fold directories automatically
 500    // when a directory has only one directory inside.
 501    "auto_fold_dirs": true,
 502    // Settings related to indent guides in the outline panel.
 503    "indent_guides": {
 504      // When to show indent guides in the outline panel.
 505      // This setting can take two values:
 506      //
 507      // 1. Always show indent guides:
 508      //    "always"
 509      // 2. Never show indent guides:
 510      //    "never"
 511      "show": "always"
 512    },
 513    // Scrollbar-related settings
 514    "scrollbar": {
 515      // When to show the scrollbar in the project panel.
 516      // This setting can take five values:
 517      //
 518      // 1. null (default): Inherit editor settings
 519      // 2. Show the scrollbar if there's important information or
 520      //    follow the system's configured behavior (default):
 521      //   "auto"
 522      // 3. Match the system's configured behavior:
 523      //    "system"
 524      // 4. Always show the scrollbar:
 525      //    "always"
 526      // 5. Never show the scrollbar:
 527      //    "never"
 528      "show": null
 529    }
 530  },
 531  "collaboration_panel": {
 532    // Whether to show the collaboration panel button in the status bar.
 533    "button": true,
 534    // Where to dock the collaboration panel. Can be 'left' or 'right'.
 535    "dock": "left",
 536    // Default width of the collaboration panel.
 537    "default_width": 240
 538  },
 539  "chat_panel": {
 540    // When to show the chat panel button in the status bar.
 541    // Can be 'never', 'always', or 'when_in_call',
 542    // or a boolean (interpreted as 'never'/'always').
 543    "button": "when_in_call",
 544    // Where to the chat panel. Can be 'left' or 'right'.
 545    "dock": "right",
 546    // Default width of the chat panel.
 547    "default_width": 240
 548  },
 549  "git_panel": {
 550    // Whether to show the git panel button in the status bar.
 551    "button": true,
 552    // Where to show the git panel. Can be 'left' or 'right'.
 553    "dock": "left",
 554    // Default width of the git panel.
 555    "default_width": 360,
 556    // Style of the git status indicator in the panel.
 557    //
 558    // Default: icon
 559    "status_style": "icon",
 560    // What branch name to use if init.defaultBranch
 561    // is not set
 562    //
 563    // Default: main
 564    "fallback_branch_name": "main",
 565
 566    "scrollbar": {
 567      // When to show the scrollbar in the git panel.
 568      //
 569      // Default: inherits editor scrollbar settings
 570      "show": null
 571    }
 572  },
 573  "message_editor": {
 574    // Whether to automatically replace emoji shortcodes with emoji characters.
 575    // For example: typing `:wave:` gets replaced with `👋`.
 576    "auto_replace_emoji_shortcode": true
 577  },
 578  "notification_panel": {
 579    // Whether to show the notification panel button in the status bar.
 580    "button": true,
 581    // Where to dock the notification panel. Can be 'left' or 'right'.
 582    "dock": "right",
 583    // Default width of the notification panel.
 584    "default_width": 380
 585  },
 586  "assistant": {
 587    // Version of this setting.
 588    "version": "2",
 589    // Whether the assistant is enabled.
 590    "enabled": true,
 591    // Whether to show the assistant panel button in the status bar.
 592    "button": true,
 593    // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
 594    "dock": "right",
 595    // Default width when the assistant is docked to the left or right.
 596    "default_width": 640,
 597    // Default height when the assistant is docked to the bottom.
 598    "default_height": 320,
 599    // The default model to use when creating new chats.
 600    "default_model": {
 601      // The provider to use.
 602      "provider": "zed.dev",
 603      // The model to use.
 604      "model": "claude-3-5-sonnet-latest"
 605    },
 606    // The model to use when applying edits from the assistant.
 607    "editor_model": {
 608      // The provider to use.
 609      "provider": "zed.dev",
 610      // The model to use.
 611      "model": "claude-3-5-sonnet-latest"
 612    }
 613  },
 614  // The settings for slash commands.
 615  "slash_commands": {
 616    // Settings for the `/docs` slash command.
 617    "docs": {
 618      // Whether `/docs` is enabled.
 619      "enabled": false
 620    },
 621    // Settings for the `/project` slash command.
 622    "project": {
 623      // Whether `/project` is enabled.
 624      "enabled": false
 625    }
 626  },
 627  // Whether the screen sharing icon is shown in the os status bar.
 628  "show_call_status_icon": true,
 629  // Whether to use language servers to provide code intelligence.
 630  "enable_language_server": true,
 631  // Whether to perform linked edits of associated ranges, if the language server supports it.
 632  // For example, when editing opening <html> tag, the contents of the closing </html> tag will be edited as well.
 633  "linked_edits": true,
 634  // The list of language servers to use (or disable) for all languages.
 635  //
 636  // This is typically customized on a per-language basis.
 637  "language_servers": ["..."],
 638  // When to automatically save edited buffers. This setting can
 639  // take four values.
 640  //
 641  // 1. Never automatically save:
 642  //     "autosave": "off",
 643  // 2. Save when changing focus away from the Zed window:
 644  //     "autosave": "on_window_change",
 645  // 3. Save when changing focus away from a specific buffer:
 646  //     "autosave": "on_focus_change",
 647  // 4. Save when idle for a certain amount of time:
 648  //     "autosave": { "after_delay": {"milliseconds": 500} },
 649  "autosave": "off",
 650  // Maximum number of tabs per pane. Unset for unlimited.
 651  "max_tabs": null,
 652  // Settings related to the editor's tab bar.
 653  "tab_bar": {
 654    // Whether or not to show the tab bar in the editor
 655    "show": true,
 656    // Whether or not to show the navigation history buttons.
 657    "show_nav_history_buttons": true,
 658    // Whether or not to show the tab bar buttons.
 659    "show_tab_bar_buttons": true
 660  },
 661  // Settings related to the editor's tabs
 662  "tabs": {
 663    // Show git status colors in the editor tabs.
 664    "git_status": false,
 665    // Position of the close button on the editor tabs.
 666    // One of: ["right", "left", "hidden"]
 667    "close_position": "right",
 668    // Whether to show the file icon for a tab.
 669    "file_icons": false,
 670    // Controls the appearance behavior of the tab's close button.
 671    //
 672    // 1. Show it just upon hovering the tab. (default)
 673    //     "hover"
 674    // 2. Show it persistently.
 675    //     "always"
 676    // 3. Never show it, even if hovering it.
 677    //     "hidden"
 678    "show_close_button": "hover",
 679    // What to do after closing the current tab.
 680    //
 681    // 1. Activate the tab that was open previously (default)
 682    //     "history"
 683    // 2. Activate the right neighbour tab if present
 684    //     "neighbour"
 685    // 3. Activate the left neighbour tab if present
 686    //     "left_neighbour"
 687    "activate_on_close": "history",
 688    // Which files containing diagnostic errors/warnings to mark in the tabs.
 689    // Diagnostics are only shown when file icons are also active.
 690    // This setting only works when can take the following three values:
 691    //
 692    // 1. Do not mark any files:
 693    //    "off"
 694    // 2. Only mark files with errors:
 695    //    "errors"
 696    // 3. Mark files with errors and warnings:
 697    //    "all"
 698    "show_diagnostics": "off"
 699  },
 700  // Settings related to preview tabs.
 701  "preview_tabs": {
 702    // Whether preview tabs should be enabled.
 703    // Preview tabs allow you to open files in preview mode, where they close automatically
 704    // when you switch to another file unless you explicitly pin them.
 705    // This is useful for quickly viewing files without cluttering your workspace.
 706    "enabled": true,
 707    // Whether to open tabs in preview mode when selected from the file finder.
 708    "enable_preview_from_file_finder": false,
 709    // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
 710    "enable_preview_from_code_navigation": false
 711  },
 712  // Settings related to the file finder.
 713  "file_finder": {
 714    // Whether to show file icons in the file finder.
 715    "file_icons": true,
 716    // Determines how much space the file finder can take up in relation to the available window width.
 717    // There are 5 possible width values:
 718    //
 719    // 1. Small: This value is essentially a fixed width.
 720    //    "modal_max_width": "small"
 721    // 2. Medium:
 722    //    "modal_max_width": "medium"
 723    // 3. Large:
 724    //    "modal_max_width": "large"
 725    // 4. Extra Large:
 726    //    "modal_max_width": "xlarge"
 727    // 5. Fullscreen: This value removes any horizontal padding, as it consumes the whole viewport width.
 728    //    "modal_max_width": "full"
 729    //
 730    // Default: small
 731    "modal_max_width": "small"
 732  },
 733  // Whether or not to remove any trailing whitespace from lines of a buffer
 734  // before saving it.
 735  "remove_trailing_whitespace_on_save": true,
 736  // Whether to start a new line with a comment when a previous line is a comment as well.
 737  "extend_comment_on_newline": true,
 738  // Removes any lines containing only whitespace at the end of the file and
 739  // ensures just one newline at the end.
 740  "ensure_final_newline_on_save": true,
 741  // Whether or not to perform a buffer format before saving
 742  //
 743  // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
 744  "format_on_save": "on",
 745  // How to perform a buffer format. This setting can take 4 values:
 746  //
 747  // 1. Format code using the current language server:
 748  //     "formatter": "language_server"
 749  // 2. Format code using an external command:
 750  //     "formatter": {
 751  //       "external": {
 752  //         "command": "prettier",
 753  //         "arguments": ["--stdin-filepath", "{buffer_path}"]
 754  //       }
 755  //     }
 756  // 3. Format code using Zed's Prettier integration:
 757  //     "formatter": "prettier"
 758  // 4. Default. Format files using Zed's Prettier integration (if applicable),
 759  //    or falling back to formatting via language server:
 760  //     "formatter": "auto"
 761  "formatter": "auto",
 762  // How to soft-wrap long lines of text.
 763  // Possible values:
 764  //
 765  // 1. Prefer a single line generally, unless an overly long line is encountered.
 766  //      "soft_wrap": "none",
 767  //      "soft_wrap": "prefer_line", // (deprecated, same as "none")
 768  // 2. Soft wrap lines that overflow the editor.
 769  //      "soft_wrap": "editor_width",
 770  // 3. Soft wrap lines at the preferred line length.
 771  //      "soft_wrap": "preferred_line_length",
 772  // 4. Soft wrap lines at the preferred line length or the editor width (whichever is smaller).
 773  //      "soft_wrap": "bounded",
 774  "soft_wrap": "none",
 775  // The column at which to soft-wrap lines, for buffers where soft-wrap
 776  // is enabled.
 777  "preferred_line_length": 80,
 778  // Whether to indent lines using tab characters, as opposed to multiple
 779  // spaces.
 780  "hard_tabs": false,
 781  // How many columns a tab should occupy.
 782  "tab_size": 4,
 783  // Control what info is collected by Zed.
 784  "telemetry": {
 785    // Send debug info like crash reports.
 786    "diagnostics": true,
 787    // Send anonymized usage data like what languages you're using Zed with.
 788    "metrics": true
 789  },
 790  // Automatically update Zed. This setting may be ignored on Linux if
 791  // installed through a package manager.
 792  "auto_update": true,
 793  // Diagnostics configuration.
 794  "diagnostics": {
 795    // Whether to show warnings or not by default.
 796    "include_warnings": true,
 797    // Settings for inline diagnostics
 798    "inline": {
 799      // Whether to show diagnostics inline or not
 800      "enabled": false,
 801      // The delay in milliseconds to show inline diagnostics after the
 802      // last diagnostic update.
 803      "update_debounce_ms": 150,
 804      // The amount of padding between the end of the source line and the start
 805      // of the inline diagnostic in units of em widths.
 806      "padding": 4,
 807      // The minimum column to display inline diagnostics. This setting can be
 808      // used to horizontally align inline diagnostics at some column. Lines
 809      // longer than this value will still push diagnostics further to the right.
 810      "min_column": 0,
 811      // The minimum severity of the diagnostics to show inline.
 812      // Shows all diagnostics when not specified.
 813      "max_severity": null
 814    }
 815  },
 816  // Files or globs of files that will be excluded by Zed entirely. They will be skipped during file
 817  // scans, file searches, and not be displayed in the project file tree. Takes precedence over `file_scan_inclusions`.
 818  "file_scan_exclusions": [
 819    "**/.git",
 820    "**/.svn",
 821    "**/.hg",
 822    "**/.jj",
 823    "**/CVS",
 824    "**/.DS_Store",
 825    "**/Thumbs.db",
 826    "**/.classpath",
 827    "**/.settings"
 828  ],
 829  // Files or globs of files that will be included by Zed, even when ignored by git. This is useful
 830  // for files that are not tracked by git, but are still important to your project. Note that globs
 831  // that are overly broad can slow down Zed's file scanning. `file_scan_exclusions` takes
 832  // precedence over these inclusions.
 833  "file_scan_inclusions": [".env*"],
 834  // Git gutter behavior configuration.
 835  "git": {
 836    // Control whether the git gutter is shown. May take 2 values:
 837    // 1. Show the gutter
 838    //      "git_gutter": "tracked_files"
 839    // 2. Hide the gutter
 840    //      "git_gutter": "hide"
 841    "git_gutter": "tracked_files",
 842    // Control whether the git blame information is shown inline,
 843    // in the currently focused line.
 844    "inline_blame": {
 845      "enabled": true
 846      // Sets a delay after which the inline blame information is shown.
 847      // Delay is restarted with every cursor movement.
 848      // "delay_ms": 600
 849      //
 850      // Whether or not to display the git commit summary on the same line.
 851      // "show_commit_summary": false
 852      //
 853      // The minimum column number to show the inline blame information at
 854      // "min_column": 0
 855    },
 856    // How git hunks are displayed visually in the editor.
 857    // This setting can take two values:
 858    //
 859    // 1. Show unstaged hunks filled and staged hunks hollow:
 860    //    "hunk_style": "staged_hollow"
 861    // 2. Show unstaged hunks hollow and staged hunks filled:
 862    //    "hunk_style": "unstaged_hollow"
 863    "hunk_style": "staged_hollow"
 864  },
 865  // The list of custom Git hosting providers.
 866  "git_hosting_providers": [
 867    // {
 868    //   "provider": "github",
 869    //   "name": "BigCorp GitHub",
 870    //   "base_url": "https://code.big-corp.com"
 871    // }
 872  ],
 873  // Configuration for how direnv configuration should be loaded. May take 2 values:
 874  // 1. Load direnv configuration using `direnv export json` directly.
 875  //      "load_direnv": "direct"
 876  // 2. Load direnv configuration through the shell hook, works for POSIX shells and fish.
 877  //      "load_direnv": "shell_hook"
 878  "load_direnv": "direct",
 879  "edit_predictions": {
 880    // A list of globs representing files that edit predictions should be disabled for.
 881    // There's a sensible default list of globs already included.
 882    // Any addition to this list will be merged with the default list.
 883    // Globs are matched relative to the worktree root,
 884    // except when starting with a slash (/) or equivalent in Windows.
 885    "disabled_globs": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/.dev.vars", "**/secrets.yml"],
 886    // When to show edit predictions previews in buffer.
 887    // This setting takes two possible values:
 888    // 1. Display predictions inline when there are no language server completions available.
 889    //     "mode": "eager"
 890    // 2. Display predictions inline only when holding a modifier key (alt by default).
 891    //     "mode": "subtle"
 892    "mode": "eager",
 893    // Whether edit predictions are enabled in the assistant panel.
 894    // This setting has no effect if globally disabled.
 895    "enabled_in_assistant": true
 896  },
 897  // Settings specific to journaling
 898  "journal": {
 899    // The path of the directory where journal entries are stored
 900    "path": "~",
 901    // What format to display the hours in
 902    // May take 2 values:
 903    // 1. hour12
 904    // 2. hour24
 905    "hour_format": "hour12"
 906  },
 907  // Settings specific to the terminal
 908  "terminal": {
 909    // What shell to use when opening a terminal. May take 3 values:
 910    // 1. Use the system's default terminal configuration in /etc/passwd
 911    //      "shell": "system"
 912    // 2. A program:
 913    //      "shell": {
 914    //        "program": "sh"
 915    //      }
 916    // 3. A program with arguments:
 917    //     "shell": {
 918    //         "with_arguments": {
 919    //           "program": "/bin/bash",
 920    //           "args": ["--login"]
 921    //         }
 922    //     }
 923    "shell": "system",
 924    // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
 925    "dock": "bottom",
 926    // Default width when the terminal is docked to the left or right.
 927    "default_width": 640,
 928    // Default height when the terminal is docked to the bottom.
 929    "default_height": 320,
 930    // What working directory to use when launching the terminal.
 931    // May take 4 values:
 932    // 1. Use the current file's project directory.  Will Fallback to the
 933    //    first project directory strategy if unsuccessful
 934    //      "working_directory": "current_project_directory"
 935    // 2. Use the first project in this workspace's directory
 936    //      "working_directory": "first_project_directory"
 937    // 3. Always use this platform's home directory (if we can find it)
 938    //     "working_directory": "always_home"
 939    // 4. Always use a specific directory. This value will be shell expanded.
 940    //    If this path is not a valid directory the terminal will default to
 941    //    this platform's home directory  (if we can find it)
 942    //      "working_directory": {
 943    //        "always": {
 944    //          "directory": "~/zed/projects/"
 945    //        }
 946    //      }
 947    "working_directory": "current_project_directory",
 948    // Set the cursor blinking behavior in the terminal.
 949    // May take 3 values:
 950    //  1. Never blink the cursor, ignoring the terminal mode
 951    //         "blinking": "off",
 952    //  2. Default the cursor blink to off, but allow the terminal to
 953    //     set blinking
 954    //         "blinking": "terminal_controlled",
 955    //  3. Always blink the cursor, ignoring the terminal mode
 956    //         "blinking": "on",
 957    "blinking": "terminal_controlled",
 958    // Default cursor shape for the terminal.
 959    //  1. A block that surrounds the following character
 960    //     "block"
 961    //  2. A vertical bar
 962    //     "bar"
 963    //  3. An underline / underscore that runs along the following character
 964    //     "underline"
 965    //  4. A box drawn around the following character
 966    //     "hollow"
 967    //
 968    // Default: not set, defaults to "block"
 969    "cursor_shape": null,
 970    // Set whether Alternate Scroll mode (code: ?1007) is active by default.
 971    // Alternate Scroll mode converts mouse scroll events into up / down key
 972    // presses when in the alternate screen (e.g. when running applications
 973    // like vim or  less). The terminal can still set and unset this mode.
 974    // May take 2 values:
 975    //  1. Default alternate scroll mode to on
 976    //         "alternate_scroll": "on",
 977    //  2. Default alternate scroll mode to off
 978    //         "alternate_scroll": "off",
 979    "alternate_scroll": "off",
 980    // Set whether the option key behaves as the meta key.
 981    // May take 2 values:
 982    //  1. Rely on default platform handling of option key, on macOS
 983    //     this means generating certain unicode characters
 984    //         "option_as_meta": false,
 985    //  2. Make the option keys behave as a 'meta' key, e.g. for emacs
 986    //         "option_as_meta": true,
 987    "option_as_meta": false,
 988    // Whether or not selecting text in the terminal will automatically
 989    // copy to the system clipboard.
 990    "copy_on_select": false,
 991    // Whether to show the terminal button in the status bar
 992    "button": true,
 993    // Any key-value pairs added to this list will be added to the terminal's
 994    // environment. Use `:` to separate multiple values.
 995    "env": {
 996      // "KEY": "value1:value2"
 997    },
 998    // Set the terminal's line height.
 999    // May take 3 values:
1000    //  1. Use a line height that's comfortable for reading, 1.618
1001    //         "line_height": "comfortable"
1002    //  2. Use a standard line height, 1.3. This option is useful for TUIs,
1003    //      particularly if they use box characters
1004    //         "line_height": "standard",
1005    //  3. Use a custom line height.
1006    //         "line_height": {
1007    //           "custom": 2
1008    //         },
1009    "line_height": "comfortable",
1010    // Activate the python virtual environment, if one is found, in the
1011    // terminal's working directory (as resolved by the working_directory
1012    // setting). Set this to "off" to disable this behavior.
1013    "detect_venv": {
1014      "on": {
1015        // Default directories to search for virtual environments, relative
1016        // to the current working directory. We recommend overriding this
1017        // in your project's settings, rather than globally.
1018        "directories": [".env", "env", ".venv", "venv"],
1019        // Can also be `csh`, `fish`, `nushell` and `power_shell`
1020        "activate_script": "default"
1021      }
1022    },
1023    "toolbar": {
1024      // Whether to display the terminal title in its toolbar's breadcrumbs.
1025      // Only shown if the terminal title is not empty.
1026      //
1027      // The shell running in the terminal needs to be configured to emit the title.
1028      // Example: `echo -e "\e]2;New Title\007";`
1029      "breadcrumbs": true
1030    },
1031    // Scrollbar-related settings
1032    "scrollbar": {
1033      // When to show the scrollbar in the terminal.
1034      // This setting can take five values:
1035      //
1036      // 1. null (default): Inherit editor settings
1037      // 2. Show the scrollbar if there's important information or
1038      //    follow the system's configured behavior (default):
1039      //   "auto"
1040      // 3. Match the system's configured behavior:
1041      //    "system"
1042      // 4. Always show the scrollbar:
1043      //    "always"
1044      // 5. Never show the scrollbar:
1045      //    "never"
1046      "show": null
1047    }
1048    // Set the terminal's font size. If this option is not included,
1049    // the terminal will default to matching the buffer's font size.
1050    // "font_size": 15,
1051    // Set the terminal's font family. If this option is not included,
1052    // the terminal will default to matching the buffer's font family.
1053    // "font_family": "Zed Plex Mono",
1054    // Set the terminal's font fallbacks. If this option is not included,
1055    // the terminal will default to matching the buffer's font fallbacks.
1056    // This will be merged with the platform's default font fallbacks
1057    // "font_fallbacks": ["FiraCode Nerd Fonts"],
1058    // Sets the maximum number of lines in the terminal's scrollback buffer.
1059    // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
1060    // Existing terminals will not pick up this change until they are recreated.
1061    // "max_scroll_history_lines": 10000,
1062  },
1063  "code_actions_on_format": {},
1064  // Settings related to running tasks.
1065  "tasks": {
1066    "variables": {}
1067  },
1068  // An object whose keys are language names, and whose values
1069  // are arrays of filenames or extensions of files that should
1070  // use those languages.
1071  //
1072  // For example, to treat files like `foo.notjs` as JavaScript,
1073  // and `Embargo.lock` as TOML:
1074  //
1075  // {
1076  //   "JavaScript": ["notjs"],
1077  //   "TOML": ["Embargo.lock"]
1078  // }
1079  //
1080  "file_types": {
1081    "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"],
1082    "Shell Script": [".env.*"]
1083  },
1084  // By default use a recent system version of node, or install our own.
1085  // You can override this to use a version of node that is not in $PATH with:
1086  // {
1087  //   "node": {
1088  //     "path": "/path/to/node"
1089  //     "npm_path": "/path/to/npm" (defaults to node_path/../npm)
1090  //   }
1091  // }
1092  // or to ensure Zed always downloads and installs an isolated version of node:
1093  // {
1094  //   "node": {
1095  //     "ignore_system_version": true,
1096  //   }
1097  // NOTE: changing this setting currently requires restarting Zed.
1098  "node": {},
1099  // The extensions that Zed should automatically install on startup.
1100  //
1101  // If you don't want any of these extensions, add this field to your settings
1102  // and change the value to `false`.
1103  "auto_install_extensions": {
1104    "html": true
1105  },
1106  // Controls how completions are processed for this language.
1107  "completions": {
1108    // Controls how words are completed.
1109    // For large documents, not all words may be fetched for completion.
1110    //
1111    // May take 3 values:
1112    // 1. "enabled"
1113    //   Always fetch document's words for completions along with LSP completions.
1114    // 2. "fallback"
1115    //   Only if LSP response errors or times out, use document's words to show completions.
1116    // 3. "disabled"
1117    //   Never fetch or complete document's words for completions.
1118    //   (Word-based completions can still be queried via a separate action)
1119    //
1120    // Default: fallback
1121    "words": "fallback",
1122    // Whether to fetch LSP completions or not.
1123    //
1124    // Default: true
1125    "lsp": true,
1126    // When fetching LSP completions, determines how long to wait for a response of a particular server.
1127    // When set to 0, waits indefinitely.
1128    //
1129    // Default: 0
1130    "lsp_fetch_timeout_ms": 0
1131  },
1132  // Different settings for specific languages.
1133  "languages": {
1134    "Astro": {
1135      "language_servers": ["astro-language-server", "..."],
1136      "prettier": {
1137        "allowed": true,
1138        "plugins": ["prettier-plugin-astro"]
1139      }
1140    },
1141    "Blade": {
1142      "prettier": {
1143        "allowed": true
1144      }
1145    },
1146    "C": {
1147      "format_on_save": "off",
1148      "use_on_type_format": false,
1149      "prettier": {
1150        "allowed": false
1151      }
1152    },
1153    "C++": {
1154      "format_on_save": "off",
1155      "use_on_type_format": false,
1156      "prettier": {
1157        "allowed": false
1158      }
1159    },
1160    "CSS": {
1161      "prettier": {
1162        "allowed": true
1163      }
1164    },
1165    "Dart": {
1166      "tab_size": 2
1167    },
1168    "Diff": {
1169      "show_edit_predictions": false,
1170      "remove_trailing_whitespace_on_save": false,
1171      "ensure_final_newline_on_save": false
1172    },
1173    "Elixir": {
1174      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1175    },
1176    "Erlang": {
1177      "language_servers": ["erlang-ls", "!elp", "..."]
1178    },
1179    "Git Commit": {
1180      "allow_rewrap": "anywhere"
1181    },
1182    "Go": {
1183      "code_actions_on_format": {
1184        "source.organizeImports": true
1185      }
1186    },
1187    "GraphQL": {
1188      "prettier": {
1189        "allowed": true
1190      }
1191    },
1192    "HEEX": {
1193      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
1194    },
1195    "HTML": {
1196      "prettier": {
1197        "allowed": true
1198      }
1199    },
1200    "Java": {
1201      "prettier": {
1202        "allowed": true,
1203        "plugins": ["prettier-plugin-java"]
1204      }
1205    },
1206    "JavaScript": {
1207      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1208      "prettier": {
1209        "allowed": true
1210      }
1211    },
1212    "JSON": {
1213      "prettier": {
1214        "allowed": true
1215      }
1216    },
1217    "JSONC": {
1218      "prettier": {
1219        "allowed": true
1220      }
1221    },
1222    "Markdown": {
1223      "format_on_save": "off",
1224      "use_on_type_format": false,
1225      "allow_rewrap": "anywhere",
1226      "soft_wrap": "bounded",
1227      "prettier": {
1228        "allowed": true
1229      }
1230    },
1231    "PHP": {
1232      "language_servers": ["phpactor", "!intelephense", "..."],
1233      "prettier": {
1234        "allowed": true,
1235        "plugins": ["@prettier/plugin-php"],
1236        "parser": "php"
1237      }
1238    },
1239    "Plain Text": {
1240      "allow_rewrap": "anywhere"
1241    },
1242    "Ruby": {
1243      "language_servers": ["solargraph", "!ruby-lsp", "!rubocop", "..."]
1244    },
1245    "SCSS": {
1246      "prettier": {
1247        "allowed": true
1248      }
1249    },
1250    "SQL": {
1251      "prettier": {
1252        "allowed": true,
1253        "plugins": ["prettier-plugin-sql"]
1254      }
1255    },
1256    "Starlark": {
1257      "language_servers": ["starpls", "!buck2-lsp", "..."]
1258    },
1259    "Svelte": {
1260      "language_servers": ["svelte-language-server", "..."],
1261      "prettier": {
1262        "allowed": true,
1263        "plugins": ["prettier-plugin-svelte"]
1264      }
1265    },
1266    "TSX": {
1267      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1268      "prettier": {
1269        "allowed": true
1270      }
1271    },
1272    "Twig": {
1273      "prettier": {
1274        "allowed": true
1275      }
1276    },
1277    "TypeScript": {
1278      "language_servers": ["!typescript-language-server", "vtsls", "..."],
1279      "prettier": {
1280        "allowed": true
1281      }
1282    },
1283    "Vue.js": {
1284      "language_servers": ["vue-language-server", "..."],
1285      "prettier": {
1286        "allowed": true
1287      }
1288    },
1289    "XML": {
1290      "prettier": {
1291        "allowed": true,
1292        "plugins": ["@prettier/plugin-xml"]
1293      }
1294    },
1295    "YAML": {
1296      "prettier": {
1297        "allowed": true
1298      }
1299    },
1300    "Zig": {
1301      "language_servers": ["zls", "..."]
1302    }
1303  },
1304  // Different settings for specific language models.
1305  "language_models": {
1306    "anthropic": {
1307      "version": "1",
1308      "api_url": "https://api.anthropic.com"
1309    },
1310    "google": {
1311      "api_url": "https://generativelanguage.googleapis.com"
1312    },
1313    "ollama": {
1314      "api_url": "http://localhost:11434"
1315    },
1316    "openai": {
1317      "version": "1",
1318      "api_url": "https://api.openai.com/v1"
1319    },
1320    "lmstudio": {
1321      "api_url": "http://localhost:1234/api/v0"
1322    },
1323    "deepseek": {
1324      "api_url": "https://api.deepseek.com"
1325    },
1326    "mistral": {
1327      "api_url": "https://api.mistral.ai/v1"
1328    }
1329  },
1330  // Zed's Prettier integration settings.
1331  // Allows to enable/disable formatting with Prettier
1332  // and configure default Prettier, used when no project-level Prettier installation is found.
1333  "prettier": {
1334    // // Whether to consider prettier formatter or not when attempting to format a file.
1335    // "allowed": false,
1336    //
1337    // // Use regular Prettier json configuration.
1338    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1339    // // the project has no other Prettier installed.
1340    // "plugins": [],
1341    //
1342    // // Use regular Prettier json configuration.
1343    // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
1344    // // the project has no other Prettier installed.
1345    // "trailingComma": "es5",
1346    // "tabWidth": 4,
1347    // "semi": false,
1348    // "singleQuote": true
1349  },
1350  // Settings for auto-closing of JSX tags.
1351  "jsx_tag_auto_close": {
1352    "enabled": true
1353  },
1354  // LSP Specific settings.
1355  "lsp": {
1356    // Specify the LSP name as a key here.
1357    // "rust-analyzer": {
1358    //     // These initialization options are merged into Zed's defaults
1359    //     "initialization_options": {
1360    //         "check": {
1361    //             "command": "clippy" // rust-analyzer.check.command (default: "check")
1362    //         }
1363    //     }
1364    // }
1365  },
1366  // Jupyter settings
1367  "jupyter": {
1368    "enabled": true
1369    // Specify the language name as the key and the kernel name as the value.
1370    // "kernel_selections": {
1371    //    "python": "conda-base"
1372    //    "typescript": "deno"
1373    // }
1374  },
1375  // Vim settings
1376  "vim": {
1377    "default_mode": "normal",
1378    "toggle_relative_line_numbers": false,
1379    "use_system_clipboard": "always",
1380    "use_multiline_find": false,
1381    "use_smartcase_find": false,
1382    "highlight_on_yank_duration": 200,
1383    "custom_digraphs": {}
1384  },
1385  // The server to connect to. If the environment variable
1386  // ZED_SERVER_URL is set, it will override this setting.
1387  "server_url": "https://zed.dev",
1388  // Settings overrides to use when using Zed Preview.
1389  // Mostly useful for developers who are managing multiple instances of Zed.
1390  "preview": {
1391    // "theme": "Andromeda"
1392  },
1393  // Settings overrides to use when using Zed Nightly.
1394  // Mostly useful for developers who are managing multiple instances of Zed.
1395  "nightly": {
1396    // "theme": "Andromeda"
1397  },
1398  // Settings overrides to use when using Zed Stable.
1399  // Mostly useful for developers who are managing multiple instances of Zed.
1400  "stable": {
1401    // "theme": "Andromeda"
1402  },
1403  // Settings overrides to use when using Zed Dev.
1404  // Mostly useful for developers who are managing multiple instances of Zed.
1405  "dev": {
1406    // "theme": "Andromeda"
1407  },
1408  // Task-related settings.
1409  "task": {
1410    // Whether to show task status indicator in the status bar. Default: true
1411    "show_status_indicator": true
1412  },
1413  // Whether to show full labels in line indicator or short ones
1414  //
1415  // Values:
1416  //   - `short`: "2 s, 15 l, 32 c"
1417  //   - `long`: "2 selections, 15 lines, 32 characters"
1418  // Default: long
1419  "line_indicator_format": "long",
1420  // Set a proxy to use. The proxy protocol is specified by the URI scheme.
1421  //
1422  // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
1423  // `socks5h`. `http` will be used when no scheme is specified.
1424  //
1425  // By default no proxy will be used, or Zed will try get proxy settings from
1426  // environment variables.
1427  //
1428  // Examples:
1429  //   - "proxy": "socks5h://localhost:10808"
1430  //   - "proxy": "http://127.0.0.1:10809"
1431  "proxy": null,
1432  // Set to configure aliases for the command palette.
1433  // When typing a query which is a key of this object, the value will be used instead.
1434  //
1435  // Examples:
1436  // {
1437  //   "W": "workspace::Save"
1438  // }
1439  "command_aliases": {},
1440  // Whether to show user picture in titlebar.
1441  "show_user_picture": true,
1442  // ssh_connections is an array of ssh connections.
1443  // You can configure these from `project: Open Remote` in the command palette.
1444  // Zed's ssh support will pull configuration from your ~/.ssh too.
1445  // Examples:
1446  // [
1447  //   {
1448  //     "host": "example-box",
1449  //     // "port": 22, "username": "test", "args": ["-i", "/home/user/.ssh/id_rsa"]
1450  //     "projects": [
1451  //       {
1452  //         "paths": ["/home/user/code/zed"]
1453  //       }
1454  //     ]
1455  //   }
1456  // ]
1457  "ssh_connections": [],
1458
1459  // Configures context servers for use in the Assistant.
1460  "context_servers": {},
1461  "debugger": {
1462    "stepping_granularity": "line",
1463    "save_breakpoints": true,
1464    "button": true
1465  }
1466}