Skip to content

Instantly share code, notes, and snippets.

@sanbox-irl
Created December 20, 2024 00:17
Show Gist options
  • Save sanbox-irl/d21cdf9b00823c384eb7c9f69536ba60 to your computer and use it in GitHub Desktop.
Save sanbox-irl/d21cdf9b00823c384eb7c9f69536ba60 to your computer and use it in GitHub Desktop.
// 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.
{
"features": {
"copilot": false
},
"base_keymap": "VSCode",
"theme": "macOS Classic Light",
"ui_font_size": 20,
"buffer_font_size": 24,
"terminal": {
"font_family": "MesloLGS NF"
},
"git": {
"inline_blame": {
"enabled": false
}
},
"ensure_final_newline_on_save": false,
"autosave": {
"after_delay": {
"milliseconds": 1000
}
},
"remove_trailing_whitespace_on_save": false,
"buffer_font_family": "Berkeley Mono",
"format_on_save": "off",
"lsp": {
"rust-analyzer": {
"initialization_options": {
"checkOnSave": {
"command": "clippy"
},
"completion": {
"autoimport": {
"enable": false
},
"callable": {
"snippets": "add_parentheses"
},
"postfix": {
"enable": false
},
"rustfmt": {
"extraArgs": ["+nightly"]
},
"diagnostics": {
"useRustcErrorCode": true,
"disabled": ["non_camel_case_types"]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment