Skip to content

Instantly share code, notes, and snippets.

@radupotop
Last active July 28, 2025 17:39
Show Gist options
  • Save radupotop/5019c883cecd1fcdf7df93213fee427b to your computer and use it in GitHub Desktop.
Save radupotop/5019c883cecd1fcdf7df93213fee427b to your computer and use it in GitHub Desktop.
Zed settings.json (JSONC)
// 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.
{
"icon_theme": "Material Icon Theme",
"features": {
"edit_prediction_provider": "none"
},
"agent": {
"default_profile": "ask",
"default_model": {
"provider": "openai",
"model": "gpt-4.1"
}
},
"theme": "New One",
"ui_font_size": 11,
"agent_font_size": 11,
"buffer_font_size": 11,
"buffer_font_family": "Roboto Mono",
// "buffer_font_weight": 300,
"buffer_line_height": {
"custom": 1.4
},
"preferred_line_length": 90,
"soft_wrap": "bounded",
"lsp": {
"pyright": {
"binary": { "path": "/usr/bin/pyright-langserver", "arguments": ["--stdio"] }
},
"yaml-language-server": {
"binary": { "path": "/usr/bin/yaml-language-server", "arguments": ["--stdio"] }
},
"json-language-server": {
"binary": {
"path": "/usr/bin/vscode-json-language-server",
"arguments": ["--stdio"]
}
},
"vscode-html-language-server": {
"binary": {
"path": "/usr/bin/vscode-html-language-server",
"arguments": ["--stdio"]
}
},
"vscode-css-language-server": {
"binary": {
"path": "/usr/bin/vscode-css-language-server",
"arguments": ["--stdio"]
}
},
"tailwindcss-language-server": {
"binary": {
"path": "/usr/bin/tailwindcss-language-server",
"arguments": ["--stdio"]
}
}
},
"languages": {
// https://docs.astral.sh/ruff/editors/setup/#zed
"Python": {
"format_on_save": "on",
"formatter": [
{
"code_actions": {
"source.organizeImports.ruff": true,
"source.fixAll.ruff": true
}
},
{
"language_server": {
"name": "ruff"
}
}
],
"language_servers": ["pyright", "ruff"]
},
"Markdown": {
"remove_trailing_whitespace_on_save": false
},
"YAML": {
// "format_on_save": "off"
}
},
"file_scan_exclusions": [
"**/node_modules",
"**/.git",
"**/.svn",
"**/.hg",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings",
// Python
"**/.mypy_cache",
"**/.pytest_cache",
"**/.ruff_cache",
"**/.venv",
"**/__pycache__"
// Mine
// "*.css",
// "*.scss",
// "*.less",
// "*.html",
// "*.js",
// "*.svg",
// "*.map",
// "**/assets/",
// "**/cassette/",
// "**/cassettes/"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment