Skip to content

Commit

Permalink
Add elm to docs (#669)
Browse files Browse the repository at this point in the history
See also: #613
  • Loading branch information
predragnikolic authored and rwols committed Aug 2, 2019
1 parent 67a55b7 commit 110c462
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Documentation is available at [LSP.readthedocs.io](https://LSP.readthedocs.io).
* [CSS/LESS/SASS (SCSS only)](https://lsp.readthedocs.io/en/latest/#css)
* [D](https://lsp.readthedocs.io/en/latest/#d)
* [Dart](https://lsp.readthedocs.io/en/latest/#dart)
* [Elm](https://lsp.readthedocs.io/en/latest/#elm)
* [Flow (JavaScript)](https://lsp.readthedocs.io/en/latest/#flow)
* [Go](https://lsp.readthedocs.io/en/latest/#go)
* [HTML](https://lsp.readthedocs.io/en/latest/#html)
Expand Down
31 changes: 31 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,37 @@ Add to LSP settings' clients:
}
```

### Elm<a name="elm"></a>

See instructions for installing the [elm-language-server](https://github.com/elm-tooling/elm-language-server).
Install [Elm Language Support](https://packagecontrol.io/packages/Elm%20Language%20Support) from Package Control for syntax highlighting.

Add to LSP settings' clients:

```json
"elm": {
"command": [
"elm-language-server",
"--stdio"
],
"enabled": true,
"languageId": "elm",
"scopes":
[
"source.elm"
],
"syntaxes":
[
"Packages/Elm Language Support/Syntaxes/Elm.sublime-syntax"
],
"initializationOptions": {
"elmPath": "elm",
"elmFormatPath": "elm-format",
"elmTestPath": "elm-test"
}
}
```


### Ocaml/Reason<a name="reason"></a>

Expand Down

0 comments on commit 110c462

Please sign in to comment.