mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Drop editor support dir
This commit is contained in:
parent
6dbdc91b92
commit
f3cfd07ad8
1 changed files with 0 additions and 37 deletions
|
@ -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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue