Skip to content

Instantly share code, notes, and snippets.

@truh
Created August 11, 2024 11:33
Show Gist options
  • Save truh/9fc160e67b424d1e26e1c85463ed7bb5 to your computer and use it in GitHub Desktop.
Save truh/9fc160e67b424d1e26e1c85463ed7bb5 to your computer and use it in GitHub Desktop.
Zed config
// 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 the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"theme": "Catppuccin Mocha",
"buffer_font_family": "Monaco",
"ui_font_size": 16,
"buffer_font_size": 12,
"languages": {
"TOML": {
"tab_size": 2
},
"Nix": {
"tab_size": 2
},
"Rust": {
"tab_size": 4
}
},
"lsp": {
"rust-analyzer": {
"initialization_options": {
"check": {
"command": "clippy"
},
"rust": {
"analyzerTargetDir": true
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment