From 3a6f1e296dcdd4179cba85122273afe9defb5a16 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 19 Jun 2023 13:22:19 +0100 Subject: [PATCH] docs: update --- README.md | 1 - doc/gitsigns.txt | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index a8ce1a1..973043a 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ require('gitsigns').setup { linehl = false, -- Toggle with `:Gitsigns toggle_linehl` word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` watch_gitdir = { - interval = 1000, follow_files = true }, attach_to_untracked = true, diff --git a/doc/gitsigns.txt b/doc/gitsigns.txt index a9d8351..24fc388 100644 --- a/doc/gitsigns.txt +++ b/doc/gitsigns.txt @@ -575,8 +575,7 @@ watch_gitdir *gitsigns-config-watch_gitdir* Default: > `{ enable = true, - follow_files = true, - interval = 1000 + follow_files = true }` < When opening a file, a libuv watcher is placed on the respective @@ -587,9 +586,6 @@ watch_gitdir *gitsigns-config-watch_gitdir* • `enable`: Whether the watcher is enabled. - • `interval`: - Interval the watcher waits between polls of the gitdir in milliseconds. - • `follow_files`: If a file is moved with `git mv`, switch the buffer to the new location.