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

apply black only for selected lines - vim #987

Open
GreatBahram opened this issue Aug 15, 2019 · 4 comments
Open

apply black only for selected lines - vim #987

GreatBahram opened this issue Aug 15, 2019 · 4 comments
Labels
C: integrations Editor plugins and other integrations C: vim Vim plugin T: enhancement New feature or request

Comments

@GreatBahram
Copy link

Hello there,

The problem is I just wanted to visualize some lines in vim and then run black just like other vim plugins. Sadly, black does not support range of lines (I think).

Thanks.

@KangOl
Copy link

KangOl commented Aug 15, 2019

You can use black-macchiato to achieve it.

@henryiii
Copy link
Contributor

henryiii commented Mar 5, 2020

Would some of the changes in 19.10 help make this natively possible now (like -c)?

@ichard26
Copy link
Collaborator

While #1352 is a duplicate of this issue, that issue has more context, information, and a solution suggestion(!), so closing this in favour of that one.

@ichard26
Copy link
Collaborator

Ah whoops, yea this is a different issue although is blocked by #1352. My apologies @GreatBahram for 1) the wrong closure in the first place, and 2) for taking forever to get back at you.

@ichard26 ichard26 reopened this Sep 12, 2021
@ichard26 ichard26 added C: integrations Editor plugins and other integrations C: vim Vim plugin T: enhancement New feature or request labels Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: integrations Editor plugins and other integrations C: vim Vim plugin T: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants