Replies: 2 comments 2 replies
-
Are you looking for something like:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Ok literally I posted it, I got the solution that works for selection buffer:
this would apply |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
short question: how to make something like this work:
Reasoning behind it that I am developing in a large codebase that doesn't have a formatter configured by default, but still enjoy using one. So I run black on the pieces of the code that I add, and in Neovim it's done via selecting a piece of code and running
:'<,'>!black - 2>/dev/null
, which formats the code under selection.I wonder now, if there's an option to replicate that with
ruff
? I've tried working withruff format --stdin-filename
, but no luck just yet.Beta Was this translation helpful? Give feedback.
All reactions