The pattern isn't tailored to catch .swp only, as vim will continue creating .swo, .swn, etc. going backwards in alphabet once an existing swap file already exists. Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx> --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index dd2404e0..677d4350 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *~ *.pyc *.gmo +*.sw? /build /dist -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list