Skip to content

Commit

Permalink
docs: Set autoread for vim integration to get the buffer to automatic…
Browse files Browse the repository at this point in the history
…ally reload
  • Loading branch information
shangxiao authored and akaihola committed Jan 1, 2021
1 parent a2d1365 commit e5e6357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ You can though ask vim to run ``darker`` on file save with the following in your

.. code-block:: vim
set autoread
autocmd BufWritePost *.py silent :!darker %
- ``BufWritePost`` to run ``darker`` *once the file has been saved*,
Expand Down

0 comments on commit e5e6357

Please sign in to comment.