neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 32e128f20992e350b3e39c7469baa1f692418203
parent 3146433190803247ce0132fe08a8576f4e50f23d
Author: Manuel <dev+git@manuelsbrain.de>
Date:   Thu,  1 Aug 2024 16:00:48 +0200

fix(watch): exclude .git when using inotifywait (#29914)

inotifywait man page specifies:
The file must be specified with a relative or absolute path according to whether a relative or absolute path is given for watched directories.

So it would only work this way in case the path is relative (which at least for gopls it is not)
Diffstat:
Mruntime/lua/vim/_watch.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)