coc.nvim extension for ReScript.
Use the official plugin at vim-rescript instead.
The server is a rewrite of the VS Code server in ReScript.
- Formatting (
bs-platform >= 8.2.0
) - Error highlighting (
bs-platform >= 8.3.0
)
:CocInstall coc-rescript
In order to get automatic formatting you need to add the following in your :CocConfig
:
{
"coc.preferences.formatOnSaveFiletypes": ["rescript"]
}