From 57220e7cc3104b62fa4890e3dee35c9fd097368b Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 14 Apr 2021 20:07:49 +0200 Subject: gitignore: handle case where .vim-src is a symlink I build Vim and Nvim from source and have both repos cloned locally. To prevent vim-patch.sh from downloading the Vim source once again to /.vim-src/, I usually use a symlink pointing to the already existing Vim repo. The pattern "/.vim-src" works for both, a directory or a symlink. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 670340a519..1eb382424b 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,7 @@ compile_commands.json /.nvimlog # Generated by scripts/vim-patch.sh -/.vim-src/ +/.vim-src # Generated by old (Vim) tests. /src/nvim/testdir/del -- cgit