From aecba1f68b031163b1ca3c314df98fe87ab61e01 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 3 Nov 2023 14:06:42 +0100 Subject: [PATCH] gitignore: Fix our Vim swap file pattern As https://vimdoc.sourceforge.net/htmldoc/recover.html#swap-file says, "If the ".swp" file name already exists, the last character is decremented until there is no file with that name or ".saa" is reached. In the last case, no swap file is created." --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 797c13c585..b316b1046b 100644 --- a/.gitignore +++ b/.gitignore @@ -158,7 +158,7 @@ CMakeLists.txt.user* .vagrant .vscode .idea -*.swp +*.sw? *~ cscope.* tags