Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jun 19, 2023
1 parent b0f0612 commit 3a6f1e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 1 addition & 5 deletions doc/gitsigns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down

0 comments on commit 3a6f1e2

Please sign in to comment.