Skip to content

Commit 27908d3

Browse files
committed
initial
1 parent 2065f4e commit 27908d3

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

draft-v3-release.md

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[ANN] vim-rescript v3.0.0 release
2+
3+
Hi everyone!!!
4+
5+
We've just released the newest plugin for Vim. This release has some important changes.
6+
7+
We only provide the Vim runtime files that provide the following features:
8+
9+
1. Indentation
10+
2. Syntax Highlight
11+
3. Filetype detection
12+
13+
## Breaking Changes
14+
15+
- We removed the vendored server and native Vim commands (e.g `:RescriptBuild`, etc)
16+
17+
## Improvements
18+
19+
- Better syntax highlighting
20+
21+
The `rescript-language-server` server is a dedicated package published on NPM. Users must do
22+
installation and setup to get all the features.
23+
24+
> If you are using [mason.nvim](https://github.com/williamboman/mason.nvim) you can install the ReScript Language Server using the command `MasonInstall rescript-language-server`
25+
26+
```sh
27+
npm install -g @rescript/language-server
28+
```
29+
30+
## Noevim LSP builtin users
31+
32+
Install nvim-lspconfig package.
33+
34+
```lua
35+
local lspconfig = require('lspconfig')
36+
37+
lspconfig.rescriptls.setup{}
38+
```
39+
40+
For more details, see [server configuration](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#rescriptls)
41+
42+
## vim-coc users
43+
44+
```json
45+
"languageserver": {
46+
"rescript": {
47+
"enable": true,
48+
"module": "rescript-language-server",
49+
"args": ["--node-ipc"],
50+
"filetypes": ["rescript"],
51+
"rootPatterns": ["rescript.json", "bsconfig.json"]
52+
}
53+
}
54+
```

0 commit comments

Comments
 (0)