1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 04:00:04 +08:00

Update language server docs for elm (#3209)

There is elm-language-server. Updated the docs to contain installation
 and the command to run it.

<https://github.com/elm-tooling/elm-language-server>
This commit is contained in:
Andy 2019-10-31 11:28:09 +01:00 committed by Wang Shidong
parent 9ff9a0f1c9
commit f269ed040e

View File

@ -125,6 +125,13 @@ npm install -g vscode-css-languageserver-bin
gem install solargraph gem install solargraph
``` ```
**Elm:**
```sh
npm install -g @elm-tooling/elm-language-server
npm install -g elm elm-test elm-format
```
## Configuration ## Configuration
To enable lsp support for a specified filetype, you may need to load this layer with `filtypes` option, for example: To enable lsp support for a specified filetype, you may need to load this layer with `filtypes` option, for example:
@ -147,6 +154,7 @@ default language server commands:
| `crystal` | `['scry']` | | `crystal` | `['scry']` |
| `css` | `['css-languageserver', '--stdio']` | | `css` | `['css-languageserver', '--stdio']` |
| `dart` | `['dart_language_server']` | | `dart` | `['dart_language_server']` |
| `elm` | `['elm-language-server']` |
| `go` | `['go-langserver', '-mode', 'stdio']` | | `go` | `['go-langserver', '-mode', 'stdio']` |
| `haskell` | `['hie', '--lsp']` | | `haskell` | `['hie', '--lsp']` |
| `html` | `['html-languageserver', '--stdio']` | | `html` | `['html-languageserver', '--stdio']` |