Created
January 4, 2025 11:03
-
-
Save blankhat1610/cb2164dd44025b87a2c0ff1392871434 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Zed settings | |
// | |
// For information on how to configure Zed, see the Zed | |
// documentation: https://zed.dev/docs/configuring-zed | |
// | |
// To see all of Zed's default settings without changing your | |
// custom settings, run the `open default settings` command | |
// from the command palette or from `Zed` application menu. | |
{ | |
"base_keymap": "VSCode", | |
"features": { | |
"inline_completion_provider": "copilot" | |
}, | |
"assistant": { | |
"default_model": { | |
"provider": "copilot_chat", | |
"model": "gpt-4o" | |
}, | |
"version": "2" | |
}, | |
"theme": { | |
"mode": "system", | |
"dark": "Tokyo Night", | |
"light": "Tokyo Night" | |
}, | |
"telemetry": { | |
"metrics": false, | |
"diagnostics": false | |
}, | |
"vim_mode": true, | |
"ui_font_family": "MesloLGS NF", | |
"ui_font_size": 13.5, | |
"buffer_font_family": "MesloLGS NF", | |
"buffer_font_size": 14.5, | |
"inline_completions": { | |
"disabled_globs": [".env"] | |
}, | |
"collaboration_panel": { | |
"button": false | |
}, | |
"tabs": { | |
"git_status": true | |
}, | |
"notification_panel": { | |
"button": false | |
}, | |
"terminal": { | |
"font_size": 14, | |
"font_family": "MesloLGS NF", | |
"line_height": "standard", | |
"button": true, | |
"copy_on_select": true, | |
"blinking": "on" | |
}, | |
"restore_on_startup": "last_session", | |
"confirm_quit": true, | |
"formatter": { | |
"code_actions": { | |
"source.fixAll.eslint": true, | |
"source.organizeImports": true | |
} | |
}, | |
"format_on_save": "prettier", | |
"language_overrides": { | |
"proto": { | |
"tab_size": 2 | |
} | |
}, | |
"prettier": { | |
"allowed": true | |
}, | |
"language_servers": [ | |
"typescript-language-server", | |
"protobuf-language-server", | |
"clangd", | |
"ruby-lsp", | |
"json-language-server", | |
"eslint" | |
], | |
"language_server_options": { | |
"typescript-language-server": { | |
"language_ids": [ | |
"typescript", | |
"javascript", | |
"typescriptreact", | |
"javascriptreact" | |
], | |
"initialization_options": { | |
"preferences": { | |
// Typescript language server preferences. | |
"includeInlayParameterNameHints": "all", | |
"includeInlayParameterNameHintsWhenArgumentMatchesName": true, | |
"includeInlayFunctionParameterTypeHints": true, | |
"includeInlayVariableTypeHints": true, | |
"includeInlayVariableTypeHintsWhenTypeMatchesName": false, | |
"includeInlayPropertyDeclarationTypeHints": true, | |
"includeInlayFunctionLikeReturnTypeHints": true, | |
"includeInlayEnumMemberValueHints": true | |
} | |
} | |
}, | |
// Configuration for the ESLint language server. | |
"eslint": { | |
"language_ids": [ | |
"typescript", | |
"javascript", | |
"typescriptreact", | |
"javascriptreact" | |
], | |
"initialization_options": { | |
"run_formatter": true | |
} | |
} | |
}, | |
"languages": { | |
"Proto": { | |
"formatter": "language_server", | |
"format_on_save": "off" | |
}, | |
"YAML": { | |
"tab_size": 2 | |
}, | |
"TypeScript": { | |
"formatter": "prettier", | |
"code_actions_on_format": { | |
"source.fixAll.eslint": true | |
}, | |
"format_on_save": { | |
"external": { | |
"command": "prettier", | |
"arguments": ["--stdin-filepath", "{buffer_path}"] | |
} | |
}, | |
"language_servers": ["typescript-language-server", "!vtsls"] | |
}, | |
"TSX": { | |
"formatter": "prettier", | |
"code_actions_on_format": { | |
"source.fixAll.eslint": true | |
}, | |
"format_on_save": "on" | |
}, | |
"JavaScript": { | |
"formatter": "prettier", | |
"code_actions_on_format": { | |
"source.fixAll.eslint": true | |
}, | |
"format_on_save": "on" | |
} | |
}, | |
"lsp": { | |
"typos": { | |
"initialization_options": { | |
// Diagnostic severity within Zed. "Error" by default, can be: | |
// "Error", "Hint", "Information", "Warning" | |
"diagnosticSeverity": "Hint" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment