diff options
| author | Pedro Castro <aspeddro@gmail.com> | 2023-11-15 00:08:19 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-15 11:08:19 +0800 |
| commit | c243ea970f4f5b0c229509d69855e1f65947b520 (patch) | |
| tree | 486159355ebdde82ad389038fcb76173f9b6648b /lua/lspconfig/server_configurations/rescriptls.lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.tar nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.tar.gz nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.tar.bz2 nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.tar.lz nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.tar.xz nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.tar.zst nvim-lspconfig-c243ea970f4f5b0c229509d69855e1f65947b520.zip | |
feat(rescriptls): add init_options (#2893)
Diffstat (limited to 'lua/lspconfig/server_configurations/rescriptls.lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/rescriptls.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/rescriptls.lua b/lua/lspconfig/server_configurations/rescriptls.lua index 45dc83ad..882a1100 100644 --- a/lua/lspconfig/server_configurations/rescriptls.lua +++ b/lua/lspconfig/server_configurations/rescriptls.lua @@ -6,14 +6,23 @@ return { filetypes = { 'rescript' }, root_dir = util.root_pattern('bsconfig.json', 'rescript.json', '.git'), settings = {}, + init_options = { + extensionConfiguration = { + askToStartBuild = false, + }, + }, }, docs = { description = [[ https://github.com/rescript-lang/rescript-vscode/tree/master/server + ReScript Language Server can be installed via npm: ```sh npm install -g @rescript/language-server ``` + +See the init_options supported (see https://github.com/rescript-lang/rescript-vscode/tree/master/server/config.md): ]], + root_dir = [[root_pattern('bsconfig.json', 'rescript.json', '.git')]], }, } |
