We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea5715 commit ed38c1bCopy full SHA for ed38c1b
README.md
@@ -64,9 +64,8 @@ The binary is called `rescript-language-server`
64
Install the [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) package and setup the LSP
65
66
```lua
67
-local lspconfig = require('lspconfig')
68
-
69
-lspconfig.rescriptls.setup{}
+vim.lsp.config("rescriptls", {})
+vim.lsp.enable("rescriptls")
70
```
71
72
For more details, see [server configuration](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#rescriptls)
0 commit comments