61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
// 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 `zed: open default settings` from the
|
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
|
{
|
|
"features": {
|
|
"inline_completion_provider": "none"
|
|
},
|
|
"assistant": {
|
|
"dock": "right",
|
|
"version": "2"
|
|
},
|
|
"format_on_save": "language_server",
|
|
"formatter": "language_server",
|
|
"buffer_font_family": "FiraCode Nerd Font",
|
|
"tab_size": 4,
|
|
"vim_mode": true,
|
|
"ui_font_size": 16,
|
|
"buffer_font_size": 16,
|
|
"theme": {
|
|
"mode": "system",
|
|
"light": "One Light",
|
|
"dark": "Tokyo Night"
|
|
},
|
|
"lsp": {
|
|
"rust-analyzer": {
|
|
"initialization_options": {
|
|
"check": {
|
|
"command": "clippy" // rust-analyzer.checkOnSave.command
|
|
},
|
|
"checkOnSave": {
|
|
"command": "clippy" // rust-analyzer.checkOnSave.command
|
|
},
|
|
"inlayHints": {
|
|
"maxLength": null,
|
|
"lifetimeElisionHints": {
|
|
"enable": "skip_trivial",
|
|
"useParameterNames": true
|
|
},
|
|
"closureReturnTypeHints": {
|
|
"enable": "always"
|
|
}
|
|
},
|
|
"diagnostics": {
|
|
"experimental": {
|
|
"enable": true
|
|
}
|
|
},
|
|
"cargo": {
|
|
"features": "all",
|
|
"allTargets": true
|
|
},
|
|
}
|
|
}
|
|
}
|
|
}
|