mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:10:05 +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:
parent
9ff9a0f1c9
commit
f269ed040e
@ -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']` |
|
||||||
|
Loading…
Reference in New Issue
Block a user