Created
March 19, 2025 09:00
-
-
Save MikaelFangel/57723a2c6f19fdd45bca65f920c0528b to your computer and use it in GitHub Desktop.
Zed configuration for Elixir development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"features": { | |
"edit_prediction_provider": "zed" | |
}, | |
"auto_install_extensions": { | |
"git-firefly": true, | |
"html": true, | |
"dockerfile": true, | |
"elixir": true, | |
"emmet": true, | |
"nix": true | |
}, | |
"base_keymap": "JetBrains", | |
"telemetry": { | |
"metrics": false, | |
"diagnostics": false | |
}, | |
"restore_on_startup": "last_workspace", | |
"autoscroll_on_clicks": true, | |
"vim_mode": true, | |
"relative_line_numbers": true, | |
"tab_size": 2, | |
"ui_font_size": 16, | |
"buffer_font_size": 14, | |
"buffer_font_family": "FiraCode Nerd Font Mono", | |
"autosave": "on_focus_change", | |
"theme": { | |
"mode": "system", | |
"light": "Ayu Light", | |
"dark": "Ayu Mirage" | |
}, | |
"git": { | |
"inline_blame": { | |
"show_commit_summary": true | |
} | |
}, | |
"inlay_hints": { | |
"enabled": true | |
}, | |
"journal": { | |
"hour_format": "hour24" | |
}, | |
"languages": { | |
"Elixir": { | |
"language_servers": ["elixir-ls"], | |
"format_on_save": { | |
"external": { | |
"command": "mix", | |
"arguments": ["format", "--stdin-filename", "{buffer_path}", "-"] | |
} | |
} | |
}, | |
"HEEX": { | |
"format_on_save": { | |
"external": { | |
"command": "mix", | |
"arguments": ["format", "--stdin-filename", "{buffer_path}", "-"] | |
} | |
}, | |
"language_servers": [ | |
"elixir-ls", | |
"tailwindcss-language-server", | |
"emmet-language-server" | |
] | |
}, | |
"Nix": { | |
"language_servers": ["nixd", "!nil"], | |
"format_on_save": { | |
"external": { | |
"command": "nixfmt", | |
"arguments": ["--quiet", "--"] | |
} | |
} | |
}, | |
"Markdown": { | |
"preferred_line_length": 135, | |
"soft_wrap": "preferred_line_length" | |
} | |
}, | |
"show_edit_predictions": false, | |
"edit_predictions_disabled_in": ["comment", "string"], | |
"assistant": { | |
"default_model": { | |
"provider": "zed.dev", | |
"model": "claude-3-7-sonnet-latest" | |
}, | |
"version": "2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment