Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JosephTLyons/8c22fdf549917a7ee4f83b943f5863c7 to your computer and use it in GitHub Desktop.
Save JosephTLyons/8c22fdf549917a7ee4f83b943f5863c7 to your computer and use it in GitHub Desktop.
Setting up mix formatter for Elixir in Zed
Source: https://github.com/zed-industries/community/issues/1526#issuecomment-1543891012
{
// ...
"language_overrides": {
"Elixir": {
"format_on_save": {
"external": {
"command": "mix",
"arguments": ["format", "--stdin-filename", "{buffer_path}", "-"]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment