https://github.com/believer/coc-rescript
ReScript extension for coc.nvim
https://github.com/believer/coc-rescript
lsp rescript
Last synced: 10 months ago
JSON representation
ReScript extension for coc.nvim
- Host: GitHub
- URL: https://github.com/believer/coc-rescript
- Owner: believer
- Archived: true
- Created: 2020-09-08T13:29:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-17T08:15:06.000Z (over 5 years ago)
- Last Synced: 2024-08-03T01:29:08.263Z (over 1 year ago)
- Topics: lsp, rescript
- Language: ReScript
- Homepage:
- Size: 230 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-list - coc-rescript
README
# coc-rescript
[](https://badge.fury.io/js/coc-rescript)
[](https://github.com/believer/coc-rescript/actions?workflow=Release)
[coc.nvim](https://github.com/neoclide/coc.nvim) extension for [ReScript](http://rescript-lang.org/).
## Use the official plugin at [vim-rescript](https://github.com/rescript-lang/vim-rescript) instead.
The server is a rewrite of the [VS Code server](https://github.com/rescript-lang/rescript-vscode/) in ReScript.
## Features
- Formatting (`bs-platform >= 8.2.0`)
- Error highlighting (`bs-platform >= 8.3.0`)
## Installation
```
:CocInstall coc-rescript
```
In order to get automatic formatting you need to add the following in your `:CocConfig`:
```json
{
"coc.preferences.formatOnSaveFiletypes": ["rescript"]
}
```