Suggest BufWritePre instead of BufWritePost for vi (#376)

closes #321
This commit is contained in:
David Szotten 2018-06-23 08:56:05 +01:00 committed by Łukasz Langa
parent 41240e9a78
commit 579a8f9344

View File

@ -670,7 +670,7 @@ The plugin will use it.
To run *Black* on save, add the following line to `.vimrc` or `init.vim`:
```
autocmd BufWritePost *.py execute ':Black'
autocmd BufWritePre *.py execute ':Black'
```
**How to get Vim with Python 3.6?**