aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/filter/vim.filter4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filter/vim.filter b/src/filter/vim.filter
index 3e6e11c..e110fa6 100644
--- a/src/filter/vim.filter
+++ b/src/filter/vim.filter
@@ -1,7 +1,7 @@
# vim's way of verifying that it is able to create a file
-[0-9]+
+.*[0-9]{4}
# temporary backup file during write
[^~]*~
# log and backup files
.*\.viminfo
-.*\.sw[px]
+.*\.sw[a-z]