Skip to content

Instantly share code, notes, and snippets.

@sanbox-irl
Created October 18, 2024 22:15
Show Gist options
  • Save sanbox-irl/f598df65633f976da01eca4ac5af7482 to your computer and use it in GitHub Desktop.
Save sanbox-irl/f598df65633f976da01eca4ac5af7482 to your computer and use it in GitHub Desktop.
my zed settings
// 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.
{
"base_keymap": "VSCode",
"theme": "Andromeda",
"ui_font_size": 18,
"buffer_font_size": 18,
"terminal": {
"font_family": "MesloLGS NF"
},
"ensure_final_newline_on_save": false,
"autosave": {
"after_delay": {
"milliseconds": 1000
}
},
"git": {
"git_gutter": "tracked_files",
"inline_blame": {
"enabled": false
}
},
"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