Skip to content

Instantly share code, notes, and snippets.

@nonnontrivial
Last active April 6, 2025 21:58
Show Gist options
  • Save nonnontrivial/3888234ab4a2ee99bec0e4eae1a140e9 to your computer and use it in GitHub Desktop.
Save nonnontrivial/3888234ab4a2ee99bec0e4eae1a140e9 to your computer and use it in GitHub Desktop.
zed config
{
"vim_mode": true,
"cursor_blink": false,
"vertical_scroll_margin": 0,
"buffer_line_height": "standard",
"buffer_font_family": "Fira Code",
"icon_theme": "Colored Zed Icons Theme Dark",
"scrollbar": {
"show": "never"
},
"edit_predictions": {
"mode": "subtle"
},
"features": {
"edit_prediction_provider": "zed"
},
"project_panel": {
"scrollbar": {
"show": "always"
},
"auto_reveal_entries": true,
"entry_spacing": "standard",
"folder_icons": false,
"git_status": true,
"auto_fold_dirs": true,
"dock": "left"
},
"relative_line_numbers": true,
"gutter": {
"code_actions": false,
"folds": false,
"runnables": false,
"line_numbers": true
},
"tab_bar": {
"show": true
},
"scroll_beyond_last_line": "off",
"lsp": {
"ruff": {
"initialization_options": {
"settings": {
// Ruff server settings goes here
"lineLength": 80,
"lint": {
"extendSelect": ["I"]
}
}
}
},
"pyright": {
"settings": {
"python.analysis": {
"diagnosticMode": "workspace"
},
"python": {
"pythonPath": ".venv/bin/python"
}
}
},
"pylsp": {
"settings": {
"plugins": {
"pylsp_mypy": {
"overrides": ["--python-executable", ".venv/bin/python", true]
}
},
"pylsp.plugins.pycodestyle": {
"enabled": false
}
}
}
},
"languages": {
"Python": {
"language_servers": ["pyright"],
"format_on_save": "on",
"formatter": {
"external": {
"command": "ruff",
"arguments": ["format", "-"]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment