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

setting cwd when launching lsp server #1066

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

fuyu0425
Copy link
Contributor

@fuyu0425 fuyu0425 commented Oct 8, 2024

Some toolchains like rust-analyzer set up by rustup will look rust-toolchain.toml to decide which version to run.
When there are multiple rust-toolchain.toml across subprojects/dependencies, it's important to sett cwd to the root project path.

@manateelazycat
Copy link
Owner

Looks CI is failed, can you test python -m test.test in your local termnal ?

Some toolchain like rust-analyzer set up by rustup will look rust-toolchain.toml
to decide which version to run. When there are multiple rust-toolchain.toml
across subprojects/dependencies, it's important to settign cwd to the root project path.
@fuyu0425
Copy link
Contributor Author

fuyu0425 commented Oct 8, 2024

I added check to test whether it is a single file or not.

@manateelazycat manateelazycat merged commit 670dd9c into manateelazycat:master Oct 9, 2024
1 check passed
@manateelazycat
Copy link
Owner

Thanks, man.

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.

2 participants