31 lines
685 B
JSON
31 lines
685 B
JSON
// Folder-specific settings
|
|
//
|
|
// For a full list of overridable settings, and general information on folder-specific settings,
|
|
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
|
|
{
|
|
"format_on_save": "on",
|
|
"formatter": "language_server",
|
|
"lsp": {
|
|
"rust-analyzer": {
|
|
"initialization_options": {
|
|
"check": {
|
|
"command": "clippy" // rust-analyzer.check.command (default: "check")
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"languages": {
|
|
"Nix": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "alejandra",
|
|
"arguments": [
|
|
"-q"
|
|
]
|
|
}
|
|
},
|
|
"format_on_save": "on"
|
|
}
|
|
}
|
|
}
|