-
Notifications
You must be signed in to change notification settings - Fork 0
/
zed_settings.json
103 lines (103 loc) · 2.42 KB
/
zed_settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// 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.
{
"assistant": {
"default_model": {
"provider": "copilot_chat",
"model": "gpt-4"
},
"version": "2"
},
"theme": "One Dark",
"vim_mode": true,
"ui_font_size": 13,
"base_keymap": "VSCode",
"buffer_font_size": 14,
"preferred_line_length": 80,
"ui_font_family": "Monaspace Krypton",
"buffer_font_family": "Ubuntu",
"relative_line_numbers": true,
"tab_bar": {
"show": true
},
"scrollbar": {
"show": "never"
},
"indent_guides": {
"enabled": true,
"coloring": "indent_aware"
},
"centered_layout": {
"left_padding": 0.15,
"right_padding": 0.15
},
"inlay_hints": {
"enabled": true
},
"lsp": {
"tailwindcss-language-server": {
"settings": {
"classAttributes": ["class", "className", "ngClass", "styles"]
}
}
},
"languages": {
// Refer https://zed.dev/docs/languages/javascript and https://zed.dev/docs/languages/typescript for more info
"TypeScript": {
// Refer https://github.com/jellydn/ts-inlay-hints for how to setup for Neovim and VSCode
"inlay_hints": {
"enabled": true,
"show_parameter_hints": false,
"show_other_hints": true,
"show_type_hints": true
}
},
"Python": {
"format_on_save": { "language_server": { "name": "ruff" } },
"formatter": { "language_server": { "name": "ruff" } },
"language_servers": ["pyright", "ruff"]
}
},
// Use zed commit editor
"terminal": {
"font_family": "Ubuntu",
"blinking": "off",
"env": {
"EDITOR": "zed --wait"
}
},
// File syntax highlighting
"file_types": {
"Dockerfile": ["Dockerfile", "Dockerfile.*"],
"JSON": ["json", "jsonc", "*.code-snippets"]
},
// Turn off telemetry
"telemetry": {
"diagnostics": false,
"metrics": false
},
"project_panel": {
"button": true,
"dock": "left",
"git_status": true
},
"outline_panel": {
"dock": "right"
},
"collaboration_panel": {
"dock": "left"
},
// Move some unnecessary panels to the left
"notification_panel": {
"dock": "left"
},
"chat_panel": {
"dock": "left"
}
}