Browse Source

watch_index is deprecated, use watch_gitdir instead (#1614)

Abouzar Parvan 3 years ago
parent
commit
9b76a13512
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lua/core/gitsigns.lua

+ 1 - 1
lua/core/gitsigns.lua

@@ -44,7 +44,7 @@ M.config = function()
         noremap = true,
         noremap = true,
         buffer = true,
         buffer = true,
       },
       },
-      watch_index = { interval = 1000 },
+      watch_gitdir = { interval = 1000 },
       sign_priority = 6,
       sign_priority = 6,
       update_debounce = 200,
       update_debounce = 200,
       status_formatter = nil, -- Use default
       status_formatter = nil, -- Use default