1{
2 // The name of the Zed theme to use for the UI.
3 //
4 // The theme can also be set to follow system preferences:
5 //
6 // "theme": {
7 // "mode": "system",
8 // "light": "One Light",
9 // "dark": "One Dark"
10 // }
11 //
12 // Where `mode` is one of:
13 // - "system": Use the theme that corresponds to the system's appearance
14 // - "light": Use the theme indicated by the "light" field
15 // - "dark": Use the theme indicated by the "dark" field
16 "theme": "One Dark",
17 // The name of a base set of key bindings to use.
18 // This setting can take four values, each named after another
19 // text editor:
20 //
21 // 1. "VSCode"
22 // 2. "JetBrains"
23 // 3. "SublimeText"
24 // 4. "Atom"
25 "base_keymap": "VSCode",
26 // Features that can be globally enabled or disabled
27 "features": {
28 // Which inline completion provider to use.
29 "inline_completion_provider": "copilot"
30 },
31 // The name of a font to use for rendering text in the editor
32 "buffer_font_family": "Zed Mono",
33 // The OpenType features to enable for text in the editor.
34 "buffer_font_features": {
35 // Disable ligatures:
36 // "calt": false
37 },
38 // The default font size for text in the editor
39 "buffer_font_size": 15,
40 // Set the buffer's line height.
41 // May take 3 values:
42 // 1. Use a line height that's comfortable for reading (1.618)
43 // "line_height": "comfortable"
44 // 2. Use a standard line height, (1.3)
45 // "line_height": "standard",
46 // 3. Use a custom line height
47 // "line_height": {
48 // "custom": 2
49 // },
50 "buffer_line_height": "comfortable",
51 // The name of a font to use for rendering text in the UI
52 "ui_font_family": ".SystemUIFont",
53 // The OpenType features to enable for text in the UI
54 "ui_font_features": {
55 // Disable ligatures:
56 "calt": false
57 },
58 // The default font size for text in the UI
59 "ui_font_size": 16,
60 // The factor to grow the active pane by. Defaults to 1.0
61 // which gives the same size as all other panes.
62 "active_pane_magnification": 1.0,
63 // Centered layout related settings.
64 "centered_layout": {
65 // The relative width of the left padding of the central pane from the
66 // workspace when the centered layout is used.
67 "left_padding": 0.2,
68 // The relative width of the right padding of the central pane from the
69 // workspace when the centered layout is used.
70 "right_padding": 0.2
71 },
72 // The key to use for adding multiple cursors
73 // Currently "alt" or "cmd_or_ctrl" (also aliased as
74 // "cmd" and "ctrl") are supported.
75 "multi_cursor_modifier": "alt",
76 // Whether to enable vim modes and key bindings.
77 "vim_mode": false,
78 // Whether to show the informational hover box when moving the mouse
79 // over symbols in the editor.
80 "hover_popover_enabled": true,
81 // Whether to confirm before quitting Zed.
82 "confirm_quit": false,
83 // Whether to restore last closed project when fresh Zed instance is opened.
84 "restore_on_startup": "last_workspace",
85 // Size of the drop target in the editor.
86 "drop_target_size": 0.2,
87 // Whether the window should be closed when using 'close active item' on a window with no tabs.
88 // May take 3 values:
89 // 1. Use the current platform's convention
90 // "when_closing_with_no_tabs": "platform_default"
91 // 2. Always close the window:
92 // "when_closing_with_no_tabs": "close_window",
93 // 3. Never close the window
94 // "when_closing_with_no_tabs": "keep_window_open",
95 "when_closing_with_no_tabs": "platform_default",
96 // Whether the cursor blinks in the editor.
97 "cursor_blink": true,
98 // How to highlight the current line in the editor.
99 //
100 // 1. Don't highlight the current line:
101 // "none"
102 // 2. Highlight the gutter area:
103 // "gutter"
104 // 3. Highlight the editor area:
105 // "line"
106 // 4. Highlight the full line (default):
107 // "all"
108 "current_line_highlight": "all",
109 // Whether to pop the completions menu while typing in an editor without
110 // explicitly requesting it.
111 "show_completions_on_input": true,
112 // Whether to display inline and alongside documentation for items in the
113 // completions menu
114 "show_completion_documentation": true,
115 // The debounce delay before re-querying the language server for completion
116 // documentation when not included in original completion list.
117 "completion_documentation_secondary_query_debounce": 300,
118 // Whether to show wrap guides in the editor. Setting this to true will
119 // show a guide at the 'preferred_line_length' value if 'soft_wrap' is set to
120 // 'preferred_line_length', and will show any additional guides as specified
121 // by the 'wrap_guides' setting.
122 "show_wrap_guides": true,
123 // Character counts at which to show wrap guides in the editor.
124 "wrap_guides": [],
125 // Hide the values of in variables from visual display in private files
126 "redact_private_values": false,
127 // Globs to match against file paths to determine if a file is private.
128 "private_files": [
129 "**/.env*",
130 "**/*.pem",
131 "**/*.key",
132 "**/*.cert",
133 "**/*.crt",
134 "**/secrets.yml"
135 ],
136 // Whether to use additional LSP queries to format (and amend) the code after
137 // every "trigger" symbol input, defined by LSP server capabilities.
138 "use_on_type_format": true,
139 // Whether to automatically add matching closing characters when typing
140 // opening parenthesis, bracket, brace, single or double quote characters.
141 // For example, when you type (, Zed will add a closing ) at the correct position.
142 "use_autoclose": true,
143 // Controls how the editor handles the autoclosed characters.
144 // When set to `false`(default), skipping over and auto-removing of the closing characters
145 // happen only for auto-inserted characters.
146 // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
147 // no matter how they were inserted.
148 "always_treat_brackets_as_autoclosed": false,
149 // Controls whether copilot provides suggestion immediately
150 // or waits for a `copilot::Toggle`
151 "show_copilot_suggestions": true,
152 // Whether to show tabs and spaces in the editor.
153 // This setting can take three values:
154 //
155 // 1. Draw tabs and spaces only for the selected text (default):
156 // "selection"
157 // 2. Do not draw any tabs or spaces:
158 // "none"
159 // 3. Draw all invisible symbols:
160 // "all"
161 "show_whitespaces": "selection",
162 // Settings related to calls in Zed
163 "calls": {
164 // Join calls with the microphone live by default
165 "mute_on_join": false,
166 // Share your project when you are the first to join a channel
167 "share_on_join": true
168 },
169 // Toolbar related settings
170 "toolbar": {
171 // Whether to show breadcrumbs.
172 "breadcrumbs": true,
173 // Whether to show quick action buttons.
174 "quick_actions": true
175 },
176 // Scrollbar related settings
177 "scrollbar": {
178 // When to show the scrollbar in the editor.
179 // This setting can take four values:
180 //
181 // 1. Show the scrollbar if there's important information or
182 // follow the system's configured behavior (default):
183 // "auto"
184 // 2. Match the system's configured behavior:
185 // "system"
186 // 3. Always show the scrollbar:
187 // "always"
188 // 4. Never show the scrollbar:
189 // "never"
190 "show": "auto",
191 // Whether to show cursor positions in the scrollbar.
192 "cursors": true,
193 // Whether to show git diff indicators in the scrollbar.
194 "git_diff": true,
195 // Whether to show buffer search results in the scrollbar.
196 "search_results": true,
197 // Whether to show selected symbol occurrences in the scrollbar.
198 "selected_symbol": true,
199 // Whether to show diagnostic indicators in the scrollbar.
200 "diagnostics": true
201 },
202 // What to do when multibuffer is double clicked in some of its excerpts
203 // (parts of singleton buffers).
204 // May take 2 values:
205 // 1. Behave as a regular buffer and select the whole word (default).
206 // "double_click_in_multibuffer": "select"
207 // 2. Open the excerpt clicked as a new buffer in the new tab.
208 // "double_click_in_multibuffer": "open",
209 // For the case of "open", regular selection behavior can be achieved by holding `alt` when double clicking.
210 "double_click_in_multibuffer": "select",
211 "gutter": {
212 // Whether to show line numbers in the gutter.
213 "line_numbers": true,
214 // Whether to show code action buttons in the gutter.
215 "code_actions": true,
216 // Whether to show fold buttons in the gutter.
217 "folds": true
218 },
219 // The number of lines to keep above/below the cursor when scrolling.
220 "vertical_scroll_margin": 3,
221 // Scroll sensitivity multiplier. This multiplier is applied
222 // to both the horizontal and vertical delta values while scrolling.
223 "scroll_sensitivity": 1.0,
224 "relative_line_numbers": false,
225 // When to populate a new search's query based on the text under the cursor.
226 // This setting can take the following three values:
227 //
228 // 1. Always populate the search query with the word under the cursor (default).
229 // "always"
230 // 2. Only populate the search query when there is text selected
231 // "selection"
232 // 3. Never populate the search query
233 // "never"
234 "seed_search_query_from_cursor": "always",
235 // Inlay hint related settings
236 "inlay_hints": {
237 // Global switch to toggle hints on and off, switched off by default.
238 "enabled": false,
239 // Toggle certain types of hints on and off, all switched on by default.
240 "show_type_hints": true,
241 "show_parameter_hints": true,
242 // Corresponds to null/None LSP hint type value.
243 "show_other_hints": true,
244 // Time to wait after editing the buffer, before requesting the hints,
245 // set to 0 to disable debouncing.
246 "edit_debounce_ms": 700,
247 // Time to wait after scrolling the buffer, before requesting the hints,
248 // set to 0 to disable debouncing.
249 "scroll_debounce_ms": 50
250 },
251 "project_panel": {
252 // Whether to show the project panel button in the status bar
253 "button": true,
254 // Default width of the project panel.
255 "default_width": 240,
256 // Where to dock the project panel. Can be 'left' or 'right'.
257 "dock": "left",
258 // Whether to show file icons in the project panel.
259 "file_icons": true,
260 // Whether to show folder icons or chevrons for directories in the project panel.
261 "folder_icons": true,
262 // Whether to show the git status in the project panel.
263 "git_status": true,
264 // Amount of indentation for nested items.
265 "indent_size": 20,
266 // Whether to reveal it in the project panel automatically,
267 // when a corresponding project entry becomes active.
268 // Gitignored entries are never auto revealed.
269 "auto_reveal_entries": true,
270 /// Whether to fold directories automatically
271 /// when a directory has only one directory inside.
272 "auto_fold_dirs": false
273 },
274 "collaboration_panel": {
275 // Whether to show the collaboration panel button in the status bar.
276 "button": true,
277 // Where to dock the collaboration panel. Can be 'left' or 'right'.
278 "dock": "left",
279 // Default width of the collaboration panel.
280 "default_width": 240
281 },
282 "chat_panel": {
283 // Whether to show the chat panel button in the status bar.
284 "button": true,
285 // Where to the chat panel. Can be 'left' or 'right'.
286 "dock": "right",
287 // Default width of the chat panel.
288 "default_width": 240
289 },
290 "message_editor": {
291 // Whether to automatically replace emoji shortcodes with emoji characters.
292 // For example: typing `:wave:` gets replaced with `👋`.
293 "auto_replace_emoji_shortcode": true
294 },
295 "notification_panel": {
296 // Whether to show the notification panel button in the status bar.
297 "button": true,
298 // Where to dock the notification panel. Can be 'left' or 'right'.
299 "dock": "right",
300 // Default width of the notification panel.
301 "default_width": 380
302 },
303 "assistant": {
304 // Version of this setting.
305 "version": "1",
306 // Whether the assistant is enabled.
307 "enabled": true,
308 // Whether to show the assistant panel button in the status bar.
309 "button": true,
310 // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
311 "dock": "right",
312 // Default width when the assistant is docked to the left or right.
313 "default_width": 640,
314 // Default height when the assistant is docked to the bottom.
315 "default_height": 320,
316 // AI provider.
317 "provider": {
318 "name": "openai",
319 // The default model to use when starting new conversations. This
320 // setting can take three values:
321 //
322 // 1. "gpt-3.5-turbo"
323 // 2. "gpt-4"
324 // 3. "gpt-4-turbo-preview"
325 // 4. "gpt-4o"
326 "default_model": "gpt-4o"
327 }
328 },
329 // Whether the screen sharing icon is shown in the os status bar.
330 "show_call_status_icon": true,
331 // Whether to use language servers to provide code intelligence.
332 "enable_language_server": true,
333 // The list of language servers to use (or disable) for all languages.
334 //
335 // This is typically customized on a per-language basis.
336 "language_servers": ["..."],
337 // When to automatically save edited buffers. This setting can
338 // take four values.
339 //
340 // 1. Never automatically save:
341 // "autosave": "off",
342 // 2. Save when changing focus away from the Zed window:
343 // "autosave": "on_window_change",
344 // 3. Save when changing focus away from a specific buffer:
345 // "autosave": "on_focus_change",
346 // 4. Save when idle for a certain amount of time:
347 // "autosave": { "after_delay": {"milliseconds": 500} },
348 "autosave": "off",
349 // Settings related to the editor's tab bar.
350 "tab_bar": {
351 // Whether or not to show the tab bar in the editor
352 "show": true,
353 // Whether or not to show the navigation history buttons.
354 "show_nav_history_buttons": true
355 },
356 // Settings related to the editor's tabs
357 "tabs": {
358 // Show git status colors in the editor tabs.
359 "git_status": false,
360 // Position of the close button on the editor tabs.
361 "close_position": "right"
362 },
363 // Settings related to preview tabs.
364 "preview_tabs": {
365 // Whether preview tabs should be enabled.
366 // Preview tabs allow you to open files in preview mode, where they close automatically
367 // when you switch to another file unless you explicitly pin them.
368 // This is useful for quickly viewing files without cluttering your workspace.
369 "enabled": true,
370 // Whether to open tabs in preview mode when selected from the file finder.
371 "enable_preview_from_file_finder": false,
372 // Whether a preview tab gets replaced when code navigation is used to navigate away from the tab.
373 "enable_preview_from_code_navigation": false
374 },
375 // Whether or not to remove any trailing whitespace from lines of a buffer
376 // before saving it.
377 "remove_trailing_whitespace_on_save": true,
378 // Whether to start a new line with a comment when a previous line is a comment as well.
379 "extend_comment_on_newline": true,
380 // Whether or not to ensure there's a single newline at the end of a buffer
381 // when saving it.
382 "ensure_final_newline_on_save": true,
383 // Whether or not to perform a buffer format before saving
384 //
385 // Keep in mind, if the autosave with delay is enabled, format_on_save will be ignored
386 "format_on_save": "on",
387 // How to perform a buffer format. This setting can take 4 values:
388 //
389 // 1. Format code using the current language server:
390 // "formatter": "language_server"
391 // 2. Format code using an external command:
392 // "formatter": {
393 // "external": {
394 // "command": "prettier",
395 // "arguments": ["--stdin-filepath", "{buffer_path}"]
396 // }
397 // }
398 // 3. Format code using Zed's Prettier integration:
399 // "formatter": "prettier"
400 // 4. Default. Format files using Zed's Prettier integration (if applicable),
401 // or falling back to formatting via language server:
402 // "formatter": "auto"
403 "formatter": "auto",
404 // How to soft-wrap long lines of text. This setting can take
405 // three values:
406 //
407 // 1. Do not soft wrap.
408 // "soft_wrap": "none",
409 // 2. Prefer a single line generally, unless an overly long line is encountered.
410 // "soft_wrap": "prefer_line",
411 // 3. Soft wrap lines that overflow the editor:
412 // "soft_wrap": "editor_width",
413 // 4. Soft wrap lines at the preferred line length
414 // "soft_wrap": "preferred_line_length",
415 "soft_wrap": "prefer_line",
416 // The column at which to soft-wrap lines, for buffers where soft-wrap
417 // is enabled.
418 "preferred_line_length": 80,
419 // Whether to indent lines using tab characters, as opposed to multiple
420 // spaces.
421 "hard_tabs": false,
422 // How many columns a tab should occupy.
423 "tab_size": 4,
424 // Control what info is collected by Zed.
425 "telemetry": {
426 // Send debug info like crash reports.
427 "diagnostics": true,
428 // Send anonymized usage data like what languages you're using Zed with.
429 "metrics": true
430 },
431 // Automatically update Zed
432 "auto_update": true,
433 // Diagnostics configuration.
434 "diagnostics": {
435 // Whether to show warnings or not by default.
436 "include_warnings": true
437 },
438 // Add files or globs of files that will be excluded by Zed entirely:
439 // they will be skipped during FS scan(s), file tree and file search
440 // will lack the corresponding file entries.
441 "file_scan_exclusions": [
442 "**/.git",
443 "**/.svn",
444 "**/.hg",
445 "**/CVS",
446 "**/.DS_Store",
447 "**/Thumbs.db",
448 "**/.classpath",
449 "**/.settings"
450 ],
451 // Git gutter behavior configuration.
452 "git": {
453 // Control whether the git gutter is shown. May take 2 values:
454 // 1. Show the gutter
455 // "git_gutter": "tracked_files"
456 // 2. Hide the gutter
457 // "git_gutter": "hide"
458 "git_gutter": "tracked_files",
459 // Control whether the git blame information is shown inline,
460 // in the currently focused line.
461 "inline_blame": {
462 "enabled": true
463 // Sets a delay after which the inline blame information is shown.
464 // Delay is restarted with every cursor movement.
465 // "delay_ms": 600
466 }
467 },
468 "copilot": {
469 // The set of glob patterns for which copilot should be disabled
470 // in any matching file.
471 "disabled_globs": [".env"]
472 },
473 // Settings specific to journaling
474 "journal": {
475 // The path of the directory where journal entries are stored
476 "path": "~",
477 // What format to display the hours in
478 // May take 2 values:
479 // 1. hour12
480 // 2. hour24
481 "hour_format": "hour12"
482 },
483 // Settings specific to the terminal
484 "terminal": {
485 // What shell to use when opening a terminal. May take 3 values:
486 // 1. Use the system's default terminal configuration in /etc/passwd
487 // "shell": "system"
488 // 2. A program:
489 // "shell": {
490 // "program": "sh"
491 // }
492 // 3. A program with arguments:
493 // "shell": {
494 // "with_arguments": {
495 // "program": "/bin/bash",
496 // "arguments": ["--login"]
497 // }
498 // }
499 "shell": "system",
500 // Where to dock terminals panel. Can be `left`, `right`, `bottom`.
501 "dock": "bottom",
502 // Default width when the terminal is docked to the left or right.
503 "default_width": 640,
504 // Default height when the terminal is docked to the bottom.
505 "default_height": 320,
506 // What working directory to use when launching the terminal.
507 // May take 4 values:
508 // 1. Use the current file's project directory. Will Fallback to the
509 // first project directory strategy if unsuccessful
510 // "working_directory": "current_project_directory"
511 // 2. Use the first project in this workspace's directory
512 // "working_directory": "first_project_directory"
513 // 3. Always use this platform's home directory (if we can find it)
514 // "working_directory": "always_home"
515 // 4. Always use a specific directory. This value will be shell expanded.
516 // If this path is not a valid directory the terminal will default to
517 // this platform's home directory (if we can find it)
518 // "working_directory": {
519 // "always": {
520 // "directory": "~/zed/projects/"
521 // }
522 // }
523 "working_directory": "current_project_directory",
524 // Set the cursor blinking behavior in the terminal.
525 // May take 3 values:
526 // 1. Never blink the cursor, ignoring the terminal mode
527 // "blinking": "off",
528 // 2. Default the cursor blink to off, but allow the terminal to
529 // set blinking
530 // "blinking": "terminal_controlled",
531 // 3. Always blink the cursor, ignoring the terminal mode
532 // "blinking": "on",
533 "blinking": "terminal_controlled",
534 // Set whether Alternate Scroll mode (code: ?1007) is active by default.
535 // Alternate Scroll mode converts mouse scroll events into up / down key
536 // presses when in the alternate screen (e.g. when running applications
537 // like vim or less). The terminal can still set and unset this mode.
538 // May take 2 values:
539 // 1. Default alternate scroll mode to on
540 // "alternate_scroll": "on",
541 // 2. Default alternate scroll mode to off
542 // "alternate_scroll": "off",
543 "alternate_scroll": "off",
544 // Set whether the option key behaves as the meta key.
545 // May take 2 values:
546 // 1. Rely on default platform handling of option key, on macOS
547 // this means generating certain unicode characters
548 // "option_to_meta": false,
549 // 2. Make the option keys behave as a 'meta' key, e.g. for emacs
550 // "option_to_meta": true,
551 "option_as_meta": false,
552 // Whether or not selecting text in the terminal will automatically
553 // copy to the system clipboard.
554 "copy_on_select": false,
555 // Whether to show the terminal button in the status bar
556 "button": true,
557 // Any key-value pairs added to this list will be added to the terminal's
558 // environment. Use `:` to separate multiple values.
559 "env": {
560 // "KEY": "value1:value2"
561 },
562 // Set the terminal's line height.
563 // May take 3 values:
564 // 1. Use a line height that's comfortable for reading, 1.618
565 // "line_height": "comfortable"
566 // 2. Use a standard line height, 1.3. This option is useful for TUIs,
567 // particularly if they use box characters
568 // "line_height": "standard",
569 // 3. Use a custom line height.
570 // "line_height": {
571 // "custom": 2
572 // },
573 "line_height": "comfortable",
574 // Activate the python virtual environment, if one is found, in the
575 // terminal's working directory (as resolved by the working_directory
576 // setting). Set this to "off" to disable this behavior.
577 "detect_venv": {
578 "on": {
579 // Default directories to search for virtual environments, relative
580 // to the current working directory. We recommend overriding this
581 // in your project's settings, rather than globally.
582 "directories": [".env", "env", ".venv", "venv"],
583 // Can also be `csh`, `fish`, and `nushell`
584 "activate_script": "default"
585 }
586 },
587 "toolbar": {
588 // Whether to display the terminal title in its toolbar.
589 "title": true
590 }
591 // Set the terminal's font size. If this option is not included,
592 // the terminal will default to matching the buffer's font size.
593 // "font_size": 15,
594 // Set the terminal's font family. If this option is not included,
595 // the terminal will default to matching the buffer's font family.
596 // "font_family": "Zed Mono",
597 // Sets the maximum number of lines in the terminal's scrollback buffer.
598 // Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
599 // Existing terminals will not pick up this change until they are recreated.
600 // "max_scroll_history_lines": 10000,
601 },
602 "code_actions_on_format": {},
603 // An object whose keys are language names, and whose values
604 // are arrays of filenames or extensions of files that should
605 // use those languages.
606 //
607 // For example, to treat files like `foo.notjs` as JavaScript,
608 // and `Embargo.lock` as TOML:
609 //
610 // {
611 // "JavaScript": ["notjs"],
612 // "TOML": ["Embargo.lock"]
613 // }
614 //
615 "file_types": {},
616 // The extensions that Zed should automatically install on startup.
617 //
618 // If you don't want any of these extensions, add this field to your settings
619 // and change the value to `false`.
620 "auto_install_extensions": {
621 "html": true
622 },
623 // Different settings for specific languages.
624 "languages": {
625 "Astro": {
626 "prettier": {
627 "allowed": true,
628 "plugins": ["prettier-plugin-astro"]
629 }
630 },
631 "Blade": {
632 "prettier": {
633 "allowed": true
634 }
635 },
636 "C": {
637 "format_on_save": "off"
638 },
639 "C++": {
640 "format_on_save": "off"
641 },
642 "CSS": {
643 "prettier": {
644 "allowed": true
645 }
646 },
647 "Elixir": {
648 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
649 },
650 "Gleam": {
651 "tab_size": 2
652 },
653 "Go": {
654 "code_actions_on_format": {
655 "source.organizeImports": true
656 }
657 },
658 "GraphQL": {
659 "prettier": {
660 "allowed": true
661 }
662 },
663 "HEEX": {
664 "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
665 },
666 "HTML": {
667 "prettier": {
668 "allowed": true
669 }
670 },
671 "Java": {
672 "prettier": {
673 "allowed": true,
674 "plugins": ["prettier-plugin-java"]
675 }
676 },
677 "JavaScript": {
678 "prettier": {
679 "allowed": true
680 }
681 },
682 "JSON": {
683 "prettier": {
684 "allowed": true
685 }
686 },
687 "Make": {
688 "hard_tabs": true
689 },
690 "Markdown": {
691 "format_on_save": "off",
692 "prettier": {
693 "allowed": true
694 }
695 },
696 "PHP": {
697 "prettier": {
698 "allowed": true,
699 "plugins": ["@prettier/plugin-php"]
700 }
701 },
702 "Prisma": {
703 "tab_size": 2
704 },
705 "Ruby": {
706 "language_servers": ["solargraph", "!ruby-lsp", "..."]
707 },
708 "SCSS": {
709 "prettier": {
710 "allowed": true
711 }
712 },
713 "SQL": {
714 "prettier": {
715 "allowed": true,
716 "plugins": ["prettier-plugin-sql"]
717 }
718 },
719 "Svelte": {
720 "prettier": {
721 "allowed": true,
722 "plugins": ["prettier-plugin-svelte"]
723 }
724 },
725 "TSX": {
726 "prettier": {
727 "allowed": true
728 }
729 },
730 "Twig": {
731 "prettier": {
732 "allowed": true
733 }
734 },
735 "TypeScript": {
736 "prettier": {
737 "allowed": true
738 }
739 },
740 "Vue.js": {
741 "prettier": {
742 "allowed": true
743 }
744 },
745 "XML": {
746 "prettier": {
747 "allowed": true,
748 "plugins": ["@prettier/plugin-xml"]
749 }
750 },
751 "YAML": {
752 "prettier": {
753 "allowed": true
754 }
755 }
756 },
757 // Zed's Prettier integration settings.
758 // Allows to enable/disable formatting with Prettier
759 // and configure default Prettier, used when no project-level Prettier installation is found.
760 "prettier": {
761 // // Whether to consider prettier formatter or not when attempting to format a file.
762 // "allowed": false,
763 //
764 // // Use regular Prettier json configuration.
765 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
766 // // the project has no other Prettier installed.
767 // "plugins": [],
768 //
769 // // Use regular Prettier json configuration.
770 // // If Prettier is allowed, Zed will use this for its Prettier instance for any applicable file, if
771 // // the project has no other Prettier installed.
772 // "trailingComma": "es5",
773 // "tabWidth": 4,
774 // "semi": false,
775 // "singleQuote": true
776 },
777 // LSP Specific settings.
778 "lsp": {
779 // Specify the LSP name as a key here.
780 // "rust-analyzer": {
781 // // These initialization options are merged into Zed's defaults
782 // "initialization_options": {
783 // "check": {
784 // "command": "clippy" // rust-analyzer.check.command (default: "check")
785 // }
786 // }
787 // }
788 },
789 // Vim settings
790 "vim": {
791 "use_system_clipboard": "always",
792 "use_multiline_find": false,
793 "use_smartcase_find": false
794 },
795 // The server to connect to. If the environment variable
796 // ZED_SERVER_URL is set, it will override this setting.
797 "server_url": "https://zed.dev",
798 // Settings overrides to use when using Zed Preview.
799 // Mostly useful for developers who are managing multiple instances of Zed.
800 "preview": {
801 // "theme": "Andromeda"
802 },
803 // Settings overrides to use when using Zed Nightly.
804 // Mostly useful for developers who are managing multiple instances of Zed.
805 "nightly": {
806 // "theme": "Andromeda"
807 },
808 // Settings overrides to use when using Zed Stable.
809 // Mostly useful for developers who are managing multiple instances of Zed.
810 "stable": {
811 // "theme": "Andromeda"
812 },
813 // Settings overrides to use when using Zed Dev.
814 // Mostly useful for developers who are managing multiple instances of Zed.
815 "dev": {
816 // "theme": "Andromeda"
817 },
818 // Task-related settings.
819 "task": {
820 // Whether to show task status indicator in the status bar. Default: true
821 "show_status_indicator": true
822 },
823 // Whether to show full labels in line indicator or short ones
824 //
825 // Values:
826 // - `short`: "2 s, 15 l, 32 c"
827 // - `long`: "2 selections, 15 lines, 32 characters"
828 // Default: long
829 "line_indicator_format": "long",
830 // Set a proxy to use. The proxy protocol is specified by the URI scheme.
831 //
832 // Supported URI scheme: `http`, `https`, `socks4`, `socks4a`, `socks5`,
833 // `socks5h`. `http` will be used when no scheme is specified.
834 //
835 // By default no proxy will be used, or Zed will try get proxy settings from
836 // environment variables.
837 //
838 // Examples:
839 // - "proxy" = "socks5://localhost:10808"
840 // - "proxy" = "http://127.0.0.1:10809"
841 "proxy": null
842}