Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

plugins.gitsigns.settings.watch_gitdir.enable

When opening a file, a libuv watcher is placed on the respective .git directory to detect when changes happen to use as a trigger to update signs.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.gitsigns.settings.watch_gitdir.follow_files

If a file is moved with git mv, switch the buffer to the new location.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: