X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/68cc9786d3db15339b9748582e43876392fd4122..dcd77136f8f62b35007ca11407cd04d7b62daed2:/README.md?ds=inline diff --git a/README.md b/README.md index fc1db13..ed1e019 100644 --- a/README.md +++ b/README.md @@ -397,6 +397,9 @@ to do this. Use [joslarson.black-vscode](https://marketplace.visualstudio.com/items?itemName=joslarson.black-vscode). +### SublimeText 3 + +Use [sublack plugin](https://github.com/jgirardet/sublack). ### Other editors @@ -436,6 +439,20 @@ the line length if you really need to. If you're already using Python that is pinned to the latest release on PyPI. If you'd rather run on master, this is also an option. + +## Ignoring non-modified files + +*Black* remembers files it already formatted, unless the `--diff` flag is used or +code is passed via standard input. This information is stored per-user. The exact +location of the file depends on the black version and the system on which black +is run. The file is non-portable. The standard location on common operating systems +is: + +* Windows: `C:\\Users\\AppData\Local\black\black\Cache\\cache.pkl` +* macOS: `/Users//Library/Caches/black//cache.pkl` +* Linux: `/home//.cache/black//cache.pkl` + + ## Testimonials **Dusty Phillips**, [writer](https://smile.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=dusty+phillips):