You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
+
locallspconfig=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)
0 commit comments