You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,3 +33,25 @@ After opening a ReScript file, open Cmd + Shift + P nav and find
33
33
And to see the language server logs, open Cmd + Shift + P nav and find
34
34
35
35
debug: open language server logs
36
+
37
+
## Settings
38
+
39
+
```json
40
+
"lsp": {
41
+
"rescript-language-server": {
42
+
"initialization_options": {
43
+
"extensionConfiguration": {
44
+
"askToStartBuild": false
45
+
}
46
+
},
47
+
"settings": {
48
+
"version": "1.71.0-next-441959d.0"
49
+
}
50
+
}
51
+
},
52
+
```
53
+
54
+
`initialization_options` are passed to the language server when it is started. They can be used to configure the language server. See [extensionConfiguration](https://github.com/rescript-lang/rescript-vscode/blob/441959d1feeaaffc1a589687758b1fbe1f649e72/server/src/config.ts#L5-L29)
55
+
56
+
`settings` are specific to the Zed extension.
57
+
With `version` you can point to a specific npm version of the [@rescript/language-server](https://www.npmjs.com/package/@rescript/language-server?activeTab=versions).
0 commit comments