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

Vim plugin doesn't find pyproject.toml if it's in a subdirectory #1870

Closed
austinglaser opened this issue Dec 15, 2020 · 1 comment
Closed
Labels
C: configuration CLI and configuration C: vim Vim plugin T: bug Something isn't working

Comments

@austinglaser
Copy link
Contributor

Given the directory organization:

<repository_root>
└── subproject
   ├── pyproject.toml
   └── subproject
      └── foo.py

if I run vim subproject/subproject/foo.py and then :Black, black will not find subproject/pyproject.toml, since it searches relative to the current working directory instead of the path to the current buffer.

I think there are a number of other cases like this (for instance, editing two files from different projects in two different buffers).

@ichard26 ichard26 added the C: vim Vim plugin label Dec 29, 2020
@ichard26 ichard26 added C: configuration CLI and configuration T: bug Something isn't working labels Jun 12, 2021
@ichard26
Copy link
Collaborator

Fixed by GH-1871 and thank you for the bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: configuration CLI and configuration C: vim Vim plugin T: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants