Skip to content

Commit be99edf

Browse files
committed
chore: add editor config for Zed
1 parent 1bb69c6 commit be99edf

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

.zed/settings.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"remove_trailing_whitespace_on_save": true,
3+
"extend_comment_on_newline": true,
4+
"ensure_final_newline_on_save": true,
5+
"format_on_save": "on",
6+
"formatter": {
7+
"external": {
8+
"command": "node_modules/.bin/dprint",
9+
"arguments": [
10+
"fmt",
11+
"--stdin",
12+
"{buffer_path}"
13+
]
14+
}
15+
},
16+
"soft_wrap": "editor_width",
17+
"preferred_line_length": 120,
18+
"prettier": {
19+
"allowed": false
20+
},
21+
"diagnostics": {
22+
"inline": {
23+
"enabled": true,
24+
"update_debounce_ms": 150
25+
}
26+
},
27+
"file_types": {
28+
"Markdown": [
29+
"md",
30+
"mdx"
31+
]
32+
},
33+
"file_scan_exclusions": [
34+
"**/.DS_Store",
35+
"**/.classpath",
36+
"**/.git",
37+
"**/.hg",
38+
"**/.jj",
39+
"**/.settings",
40+
"**/.svn",
41+
"**/.vscode",
42+
"**/CVS",
43+
"**/Thumbs.db"
44+
],
45+
"languages": {
46+
"Markdown": {
47+
"format_on_save": "on",
48+
"formatter": {
49+
"external": {
50+
"command": "node_modules/.bin/dprint",
51+
"arguments": [
52+
"fmt",
53+
"--stdin",
54+
"{buffer_path}"
55+
]
56+
}
57+
}
58+
}
59+
}
60+
}

0 commit comments

Comments
 (0)