Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions for OCaml and ReasonML #2386

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions LSP.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,9 @@
},
"ocaml": {
"command": [
"ocaml-language-server",
"--stdio"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder: this change would require some notice in the release notes.

"ocamllsp"
],
"selector": "source.reason | source.ocaml",
"selector": "source.ocaml | source.reason",
},
"polymer-ide": {
"command": [
Expand Down
17 changes: 1 addition & 16 deletions docs/src/language_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,22 +380,7 @@ Spell check can be provided by [LSP-ltex-ls](https://github.com/LDAP/LSP-ltex-ls

## OCaml/Reason

1. Install the [Reason](https://packagecontrol.io/packages/Reason) package from Package Control for syntax highlighting.
2. Install the [Reason Language Server](https://github.com/jaredly/reason-language-server#sublime-text).
3. Open `Preferences > Package Settings > LSP > Settings` and add the `"reason"` client configuration to the `"clients"`:


```jsonc
{
"clients": {
"reason": {
"enabled": true,
"command": ["PATH/TO/reason-language-server.exe"], // Update the PATH
"selector": "source.ocaml | source.reason"
}
}
}
```
Follow installation instructions on [OCaml-LSP](https://github.com/ocaml/ocaml-lsp).

## Odin

Expand Down