forked from sinelaw/fresh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
81 lines (81 loc) · 1.78 KB
/
config.example.json
File metadata and controls
81 lines (81 loc) · 1.78 KB
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
{
"theme": "dark",
"editor": {
"tab_size": 4,
"auto_indent": true,
"line_numbers": true,
"relative_line_numbers": false,
"scroll_offset": 3,
"syntax_highlighting": true,
"highlight_timeout_ms": 5,
"snapshot_interval": 100,
"enable_inlay_hints": true
},
"keybindings": [],
"languages": {
"rust": {
"extensions": ["rs"],
"grammar": "rust",
"comment_prefix": "//",
"auto_indent": true
}
},
"lsp": {
"rust": {
"command": "rust-analyzer",
"args": [],
"enabled": true,
"process_limits": {
"max_memory_mb": null,
"max_cpu_percent": 90,
"enabled": true
}
},
"python": {
"command": "pylsp",
"args": [],
"enabled": true
},
"javascript": {
"command": "typescript-language-server",
"args": ["--stdio"],
"enabled": true
},
"typescript": {
"command": "typescript-language-server",
"args": ["--stdio"],
"enabled": true
},
"html": {
"command": "vscode-html-languageserver-bin",
"args": ["--stdio"],
"enabled": true
},
"css": {
"command": "vscode-css-languageserver-bin",
"args": ["--stdio"],
"enabled": true
},
"c": {
"command": "clangd",
"args": [],
"enabled": true
},
"cpp": {
"command": "clangd",
"args": [],
"enabled": true
},
"go": {
"command": "gopls",
"args": [],
"enabled": true
},
"json": {
"command": "vscode-json-languageserver",
"args": ["--stdio"],
"enabled": true
}
},
"_comment_lsp": "Process limits: max_memory_mb defaults to 50% of system memory if null, max_cpu_percent defaults to 90% of total CPU. Only enabled on Linux by default."
}