Commit 579a8f93 authored by David Szotten's avatar David Szotten Committed by Łukasz Langa
Browse files

Suggest BufWritePre instead of BufWritePost for vi (#376)

closes #321
parent 41240e9a
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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?**