Skip to content

Workspace detection is different in 6.0 - is it intended? #721

Closed Answered by mrcjkb
mhedgpeth asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

EDIT: There was a regression in root directory detection (parsing cargo metadata failed because it was done outside of the nvim event loop).
Fixed in #725.

rustaceanvim doesn't set the working directory. It's likely you're using another plugin (like project.nvim) that sets the working directory based on the LSP client's root directory.
The fact that the behaviour has changed with an update to version 6 indicates that there could be a regression in root directory detection. Or, your other plugin has an issue with the fact that rustaceanvim v6 defaults to asynchronous root directory detection.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mhedgpeth
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants