Files
dotfiles/zed/settings.json
Menno van Leeuwen a90b4e696d
Some checks failed
Nix Format Check / check-format (push) Has been cancelled
Ansible Lint Check / check-ansible (push) Has been cancelled
Python Lint Check / check-python (push) Has been cancelled
Switch AI to Claude and configure Dart import sorting
2025-06-24 11:06:09 +02:00

100 lines
2.6 KiB
JSON

// 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 `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
// #############################################
// ## Theming ##
// #############################################
"icon_theme": "VSCode Icons (Dark)",
"ui_font_size": 16,
"buffer_font_size": 16,
"minimap": {
"show": "always",
"thumb": "hover",
"current_line_highlight": "all",
"display_in": "active_editor"
},
"theme": {
"mode": "system",
"light": "Catppuccin Latte",
"dark": "Catppuccin Frappé"
},
"tabs": {
"close_position": "right",
"file_icons": true,
"git_status": true,
"activate_on_close": "history",
"show_close_button": "hover",
"show_diagnostics": "errors"
},
"toolbar": {
"code_actions": true
},
// #############################################
// ## Preferences ##
// #############################################
"restore_on_startup": "last_session",
"auto_update": true,
"base_keymap": "VSCode",
"cursor_shape": "bar",
"hide_mouse": "on_typing",
"on_last_window_closed": "quit_app",
"ensure_final_newline_on_save": true,
"format_on_save": "prettier",
"tab_size": 2,
// #############################################
// ## AI Stuff ##
// #############################################
"agent": {
"default_profile": "write",
"model_parameters": [],
"default_model": {
"provider": "zed.dev",
"model": "claude-sonnet-4"
},
"version": "2"
},
"edit_predictions": {
"mode": "subtle",
"enabled_in_text_threads": true,
"disabled_globs": [
"**/.env*",
"**/*.pem",
"**/*.key",
"**/*.cert",
"**/*.crt",
"**/.dev.vars",
"**/secrets/**"
]
},
// #############################################
// ## Extensions ##
// #############################################
"auto_install_extensions": {
"dockerfile": true,
"html": true,
"yaml": true,
"docker-compose": true,
"golang": true
},
// #############################################
// ## Languages ##
// #############################################
"languages": {
"Dart": {
"code_actions_on_format": {
"source.organizeImports": true
}
}
}
}