aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_watch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_watch.lua b/runtime/lua/vim/_watch.lua
index 40f18ce5b0..3c090af3ff 100644
--- a/runtime/lua/vim/_watch.lua
+++ b/runtime/lua/vim/_watch.lua
@@ -277,7 +277,7 @@ function M.inotify(path, opts, callback)
'modify',
'--event',
'move',
- '@.git', -- ignore git directory
+ string.format('@%s/.git', path), -- ignore git directory
path,
}, {
stderr = function(err, data)