An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# coc-rescript

[![npm version](https://badge.fury.io/js/coc-rescript.svg)](https://badge.fury.io/js/coc-rescript)
[![](https://github.com/believer/coc-rescript/workflows/Release/badge.svg)](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"]
}
```