X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/afff418fa185b6bf9152e13aa7d65c150ee65dac..92b377556e24616d5980a9010cf558da7fa35d28:/README.md diff --git a/README.md b/README.md index b5ebfa0..aba30ab 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,12 @@ Options: --help Show this message and exit. ``` +`Black` is a well-behaved Unix-style command-line tool: +* it does nothing if no sources are passed to it; +* it will read from standard input and write to standard output if `-` + is used as the filename; +* it only outputs messages to users on standard error. + ## The philosophy behind *Black* @@ -209,6 +215,12 @@ body. * Visual Studio Code: [joslarson.black-vscode](https://marketplace.visualstudio.com/items?itemName=joslarson.black-vscode) +Any tool that can pipe code through *Black* using its stdio mode (just +[use `-` as the file name](http://www.tldp.org/LDP/abs/html/special-chars.html#DASHREF2)). +The formatted code will be returned on stdout (unless `--check` was +passed). *Black* will still emit messages on stderr but that shouldn't +affect your use case. + There is currently no integration with any other text editors. Vim and Atom/Nuclide integration is planned by the author, others will require external contributions. @@ -281,6 +293,11 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). ## Change Log +### 18.3a4 (unreleased) + +* don't omit whitespace if the previous factor leaf wasn't a math + operator (#55) + ### 18.3a3 * don't remove single empty lines outside of bracketed expressions