Last active
November 9, 2024 22:08
-
-
Save sachinumrao/7cf02efa0c6d5ec4391c40d0bc5b0728 to your computer and use it in GitHub Desktop.
Zed Settings
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 `zed: Open Default Settings` command | |
| // from the command palette | |
| { | |
| "assistant": { | |
| "default_model": { | |
| "provider": "google", | |
| "model": "gemini-1.5-flash" | |
| }, | |
| "version": "2" | |
| }, | |
| "base_keymap": "VSCode", | |
| "restore_on_startup": "none", | |
| "extend_comment_on_newline": false, | |
| "ui_font_size": 16, | |
| "buffer_font_size": 15, | |
| "buffer_font_weight": 500, | |
| "confirm_quit": true, | |
| "git_status": true, | |
| "file_icons": true, | |
| "always_treat_brackets_as_autoclosed": true, | |
| "wrap_guides": [120], | |
| "autosave": "on_focus_change", | |
| "format_on_save": "on", | |
| "show_inline_completions": true, | |
| "show_completion_documentation": true, | |
| "show_completions_on_input": true, | |
| "theme": "One Dark", | |
| "git": { | |
| "inline_blame": { | |
| "enabled": false | |
| } | |
| }, | |
| "terminal": { "font_family": "MesloLGS NF" }, | |
| "lsp": { | |
| "ruff": { | |
| "initialization_options": { | |
| "settings": { | |
| "lineLength": 120, | |
| "lint": { | |
| "extendSelect": ["I"] | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "languages": { | |
| "Python": { | |
| "language_servers": ["pyright"], | |
| "formatter": [ | |
| { | |
| "code_actions": { "source.organizeImports.ruff": true } | |
| }, | |
| { | |
| "external": { | |
| "command": "black", | |
| "arguments": ["-", "--line-length", "120"] | |
| } | |
| } | |
| ], | |
| "preferred_line_length": 120, | |
| "soft_wrap": "none", | |
| "enable_language_server": true, | |
| "show_inline_completions": true, | |
| "use_autoclose": true | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment