From: David Szotten Date: Sat, 23 Jun 2018 07:56:05 +0000 (+0100) Subject: Suggest BufWritePre instead of BufWritePost for vi (#376) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/579a8f93442b2e109bcd0d4118a9f9ccf52fc17c?ds=inline Suggest BufWritePre instead of BufWritePost for vi (#376) closes #321 --- diff --git a/README.md b/README.md index 96d169a..c45348d 100644 --- a/README.md +++ b/README.md @@ -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?**