diff --git a/zed/config.json b/zed/config.json new file mode 100644 index 0000000..49093ae --- /dev/null +++ b/zed/config.json @@ -0,0 +1,91 @@ +// 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) +{ + "agent": { + "default_profile": "write", + "always_allow_tool_actions": true, + "model_parameters": [], + "default_model": { + "provider": "openai", + "model": "gpt-5" + } + }, + "icon_theme": { + "mode": "system", + "light": "Catppuccin Latte", + "dark": "Catppuccin Mocha" + }, + "ui_font_size": 16, + "buffer_font_fallbacks": ["Hack Nerd Font Mono"], + "buffer_font_size": 14, + "theme": { + "mode": "system", + "light": "Catppuccin Latte", + "dark": "Catppuccin Mocha" + }, + "file_types": { + "Ansible": [ + "**.ansible.yml", + "**.ansible.yaml", + "**/defaults/*.yml", + "**/defaults/*.yaml", + "**/meta/*.yml", + "**/meta/*.yaml", + "**/tasks/*.yml", + "**/tasks/*.yaml", + "**/handlers/*.yml", + "**/handlers/*.yaml", + "**/group_vars/*.yml", + "**/group_vars/*.yaml", + "**/host_vars/*.yml", + "**/host_vars/*.yaml", + "**/playbooks/*.yml", + "**/playbooks/*.yaml", + "**playbook*.yml", + "**playbook*.yaml" + ] + }, + "languages": { + "Python": { + "language_servers": ["ruff"], + "format_on_save": "on", + "formatter": [ + { + "language_server": { + "name": "ruff" + } + } + ] + } + }, + "lsp": { + "ansible-language-server": { + "settings": { + "ansible": { + "ansible": { + "path": "ansible" + }, + "executionEnvironment": { + "enabled": false + }, + "python": { + "interpreterPath": "uvx" + }, + "validation": { + "enabled": true, + "lint": { + "enabled": true, + "path": "ansible-lint" + } + } + } + } + } + } +}