Skip to content

Instantly share code, notes, and snippets.

@MikeRomaa
Last active December 22, 2024 18:31
Show Gist options
  • Save MikeRomaa/b530e965f021e5114093c27673abddd0 to your computer and use it in GitHub Desktop.
Save MikeRomaa/b530e965f021e5114093c27673abddd0 to your computer and use it in GitHub Desktop.
Zed Config
// 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
{
"base_keymap": "JetBrains",
"telemetry": {
"diagnostics": false,
"metrics": false
},
// Misc.
"autosave": "on_focus_change",
"tab_size": 4,
// Language Settings
"lsp": {
"rust-analyzer": {
"initialization_options": {
"imports": {
"granularity": {
"group": "crate"
},
"prefix": "crate"
}
}
},
"pyright": {
"settings": {
"python": {
"pythonPath": "./venv/bin/python"
}
}
},
"biome": {
"settings": {
"require_config_file": true
}
}
},
"languages": {
"Python": {
"format_on_save": {
"external": {
"command": "ruff",
"arguments": ["format", "-"]
}
},
"code_actions_on_format": {
"source.fixAll.ruff": true,
"source.organizeImports.ruff": true
}
},
"JavaScript": {
"formatter": {
"language_server": {
"name": "biome"
}
},
"code_actions_on_format": {
"source.fixAll.biome": true,
"source.organizeImports.biome": true
}
},
"TypeScript": {
"formatter": {
"language_server": {
"name": "biome"
}
},
"code_actions_on_format": {
"source.fixAll.biome": true,
"source.organizeImports.biome": true
}
},
"TSX": {
"formatter": {
"language_server": {
"name": "biome"
}
},
"code_actions_on_format": {
"source.fixAll.biome": true,
"source.organizeImports.biome": true
}
},
"YAML": {
"tab_size": 2
}
},
// Styling Settings
"ui_font_size": 16,
"buffer_font_size": 15,
"buffer_font_family": "Berkeley Mono Variable",
"buffer_line_height": "standard",
"terminal": {
"line_height": { "custom": 1.2 }
},
"theme": "GitHub Dark Default",
"experimental.theme_overrides": {
"terminal.ansi.black": "#131313",
"terminal.ansi.bright_black": "#404040",
"terminal.ansi.red": "#eb615b",
"terminal.ansi.bright_red": "#ef8e8b",
"terminal.ansi.green": "#aae977",
"terminal.ansi.bright_green": "#c2f09c",
"terminal.ansi.yellow": "#f6cd55",
"terminal.ansi.bright_yellow": "#f8da78",
"terminal.ansi.blue": "#4ba7f8",
"terminal.ansi.bright_blue": "#5fb8f8",
"terminal.ansi.magenta": "#a489f7",
"terminal.ansi.bright_magenta": "#cabbfa",
"terminal.ansi.cyan": "#9bdafb",
"terminal.ansi.bright_cyan": "#c4eafc",
"terminal.ansi.white": "#cccccc",
"terminal.ansi.bright_white": "#feffff"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment