Skip to content

fix: initialize backend only if configuration file exists #80

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

Merged
merged 4 commits into from
Apr 20, 2024

Conversation

itrapashko
Copy link
Contributor

Fixes #79

@CLAassistant
Copy link

CLAassistant commented Mar 8, 2024

CLA assistant check
All committers have signed the CLA.

@dsherret dsherret self-requested a review April 16, 2024 20:00
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

Thanks @Ilyat1337! I moved this code into the backends because the lsp needs to shut down when there's a change to use no config files and also the legacy backend already searches for config files so it's better to just do it once (it can be slow for some very large projects).

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.

Error starting LSP server when folder without installed dprint is opened
3 participants