Skip to content

Support experimental language server#24

Draft
aspeddro wants to merge 1 commit into
rescript-lang:mainfrom
aspeddro:experimental-lsp
Draft

Support experimental language server#24
aspeddro wants to merge 1 commit into
rescript-lang:mainfrom
aspeddro:experimental-lsp

Conversation

@aspeddro

@aspeddro aspeddro commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Forward LSP settings to ReScript server
    • Return the configured Zed LSP settings as workspace configuration so server-specific options under rescript-language-server.settings reach the
      language server.

TODO

  • Update the README.md. How use the experimental server?

Related rescript-lang/rescript#8425

Return the configured Zed LSP settings as workspace configuration so
server-specific options under rescript-language-server.settings reach
the
language server.
@aspeddro aspeddro changed the title Support experimental server Support experimental language server Jun 20, 2026
Comment thread README.md
`initialization_options` are passed to the language server when it is started. They can be used to configure the language server. See [extensionConfiguration](https://github.com/rescript-lang/rescript-vscode/blob/441959d1feeaaffc1a589687758b1fbe1f649e72/server/src/config.ts#L5-L29)

`settings` are specific to the Zed extension.
The `settings.version` are specific to the Zed extension.

@aspeddro aspeddro Jun 20, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, the extension can access and use it, but that's a setting for the server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant