Skip to content

Commit d5c93f1

Browse files
committed
Add info to readme for filewatcher config
1 parent a24e306 commit d5c93f1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,16 @@ neogit.setup {
6363
disable_commit_confirmation = false,
6464
-- Uses `vim.notify` instead of the built-in notification system.
6565
disable_builtin_notifications = false,
66-
-- Changes what mode the Commit Editor starts in. `true` will leave nvim in normal mode, `false` will change nvim to insert mode, and `"auto"` will change nvim to insert mode IF the commit message is empty, otherwise leaving it in normal mode.
66+
-- Changes what mode the Commit Editor starts in. `true` will leave nvim in normal mode, `false` will change nvim to
67+
-- insert mode, and `"auto"` will change nvim to insert mode IF the commit message is empty, otherwise leaving it in
68+
-- normal mode.
6769
disable_insert_on_commit = true,
70+
-- When enabled, will watch the `.git/` directory for changes and refresh the status buffer in response to filesystem
71+
-- events.
72+
filewatcher = {
73+
interval = 1000,
74+
enabled = true,
75+
},
6876
-- Allows a different telescope sorter. Defaults to 'fuzzy_with_index_bias'. The example below will use the native fzf
6977
-- sorter instead. By default, this function returns `nil`.
7078
telescope_sorter = function()

0 commit comments

Comments
 (0)