Skip to content

Commit 47365d2

Browse files
committed
update zed config
1 parent 2b3eec9 commit 47365d2

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

.zed/settings.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,33 @@
22
// Folder-specific settings
33
//
44
// For a full list of overridable settings, and general information on folder-specific settings,//zed.dev/docs/configuring-zed#settings-files
5-
"project_name": "Odorobo",
65
"file_types": {
76
"shell": ["systemd/scripts/*"],
87
},
8+
"languages": {
9+
"Rust": {
10+
"format_on_save": "on",
11+
"formatter": "language_server",
12+
},
13+
},
14+
"lsp": {
15+
"rust-analyzer": {
16+
"initialization_options": {
17+
"cargo": {
18+
"allFeatures": true,
19+
},
20+
"check": {
21+
"command": "clippy",
22+
"allTargets": true,
23+
"extraArgs": ["--"],
24+
},
25+
"diagnostics": {
26+
"disabled": ["macro-error"],
27+
},
28+
"procMacro": {
29+
"enable": true,
30+
},
31+
},
32+
},
33+
},
934
}

0 commit comments

Comments
 (0)