-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
88 lines (88 loc) · 2.18 KB
/
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
// 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 `zed: Open Default Settings` command
// from the command palette
{
"features": {
"inline_completion_provider": "supermaven"
},
"base_keymap": "VSCode",
"ui_font_size": 16,
"buffer_font_size": 16,
"theme": {
"mode": "system",
"light": "Tokyo Night",
"dark": "One Dark"
},
"autosave": "on_window_change",
"tab_bar": {
"show": true
},
"indent_guides": {
"enabled": true,
"coloring": "indent_aware"
},
"inlay_hints": {
"enabled": true
},
"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"]
}
},
"terminal": {
"shell": {
"program": "fish"
}
},
// Turn off telemetry
"telemetry": {
"diagnostics": false,
"metrics": false
},
// Disable cursor blink
"cursor_blink": false,
// Hide the scroll bar
"scrollbar": {
"show": "auto",
"cursors": true,
"git_diff": true,
"search_results": true,
"selected_symbol": true,
"diagnostics": true
},
// Prevent the buffer from scrolling beyond the last line
"scroll_beyond_last_line": "off",
// Allow the cursor to reach the edges of the screen
"vim_mode": true,
"vertical_scroll_margin": 5,
// Use relative line numbers
"relative_line_numbers": true,
"command_aliases": {
"W": "w",
"Wq": "wq",
"Q": "q"
},
"vim": {
"use_system_clipboard": "always",
"use_multiline_find": true,
"use_smartcase_find": true,
"toggle_relative_line_numbers": true
}
}