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

Pass global settings to the LSP server #155

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 15, 2023

Summary

This PR uses the same approach as the VSCode isort extension to pass global settings to the server, which should fix the extension's lack of settings for files opened outside of a workspace.

Note that this depends on astral-sh/ruff-lsp#87.

This may help with #129.

@charliermarsh charliermarsh merged commit 658b8dc into main Mar 15, 2023
@charliermarsh charliermarsh deleted the charlie/globals branch March 15, 2023 04:08
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