Clarify that plugin works with saved buffers.

This commit is contained in:
Andy Stewart
2013-04-17 10:51:45 +02:00
parent 1a13951fc5
commit 01e7eb4e8d

View File

@@ -39,6 +39,8 @@ Add `Bundle 'airblade/vim-gitgutter'` to your `~/.vimrc` and then:
You don't have to do anything: it just works. You don't have to do anything: it just works.
Please note the plugin diffs your saved buffers, i.e. the files on disk. It produces the same result as running `git diff` on the command line. It won't see any unsaved changes to a buffer.
You can explicitly turn vim-gitgutter off and on (defaults to on): You can explicitly turn vim-gitgutter off and on (defaults to on):
* turn off with `:GitGutterDisable` * turn off with `:GitGutterDisable`