From 579a8f93442b2e109bcd0d4118a9f9ccf52fc17c Mon Sep 17 00:00:00 2001 From: David Szotten Date: Sat, 23 Jun 2018 08:56:05 +0100 Subject: [PATCH] Suggest BufWritePre instead of BufWritePost for vi (#376) closes #321 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?** -- 2.39.5