-
-
Notifications
You must be signed in to change notification settings - Fork 15
vim-rescript change current directory even it's not rescript project #30
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
Comments
Oh, it's seems dup with #23 ? |
are you sure this is actually caused by our plugin? The autocommand for updating the environment only triggers when you create / open a new |
I can confirm this happens for me too. I.e opening a monorepo which contains only scala code. |
@amiralies @wingyplus can you please follow the install instructions of #32 and check if this fixes your issue? |
not heavily tested but works as expected for me 👍 |
Can confirm that this happens to me as well, regardless of where I am in the filesystem |
@Dkendal can you try the fix posted above and check if it solves the issue on your machine? If I get some more confirmations that this fix works reliably, I will probably just merge and tag a release |
@ryyppy looks like it works! |
I found this bug when I working on another project (such as Go or Elixir). The current working directory was change caused by vim-rescript. The fzf plugin affected also.
I guess that it's because of this line https://github.com/rescript-lang/vim-rescript/blob/master/autoload/rescript.vim#L51. Maybe it should not called
lcd
when it cannot detect rescript project.The text was updated successfully, but these errors were encountered: