docs: update

This commit is contained in:
Lewis Russell 2023-06-19 13:22:19 +01:00
parent b0f0612611
commit 3a6f1e296d
2 changed files with 1 additions and 6 deletions

View File

@ -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,

View File

@ -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.