Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add r.lsp.multiServer setting #1375

Merged
merged 6 commits into from
Jun 9, 2023
Merged

Add r.lsp.multiServer setting #1375

merged 6 commits into from
Jun 9, 2023

Conversation

renkun-ken
Copy link
Member

This PR is an initial step to support #1370 by adding a setting r.lsp.multiServer (default true) to avoid breaking anything.

If disabled, only a single language server will be spawned from the first workspace folder. In the future, if languageserver implements native support for multi-root workspace (as suggested in REditorSupport/languageserver#621), then it should automatically have similar behavior with multi-server approach with proper isolation of different workspace folders, rmarkdown documents, and jupyter notebooks.

@renkun-ken renkun-ken merged commit 3f0bdc5 into master Jun 9, 2023
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