Drop editor support dir

This commit is contained in:
Ayaz Hafiz 2023-10-25 17:18:33 -05:00
parent 6dbdc91b92
commit f3cfd07ad8
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1,37 +0,0 @@
# Language Server
This fork provides a simple Roc language server for interactive development.
The language server is naive and incomplete, with rudimentary support for
- Inline diagnostics
- Hover support for get types of values
## Building
Build a local binary via
```bash
cargo build -p roc_lang_srv --release
```
which will give you a language server binary at
```bash
target/release/roc_ls
```
You can then configure your editor's LSP implementation to please point at the
build `roc_ls`. For example, in my [coc.nvim](https://github.com/neoclide/coc.nvim)
configuration, I have
```json
{
"languageserver": {
"roc": {
"command": "<path to roc>/target/release/roc_ls",
"filetypes": ["roc"]
}
}
}
```