aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Kummerlaender2016-03-03 21:44:18 +0100
committerAdrian Kummerlaender2016-03-03 21:44:18 +0100
commit32f634e02a6ead1b69b608f95643e46bbdb37029 (patch)
treef29eedfdaec3d4e328c716c83b924dfe717879d8 /src
parente1dabdef0969abbed1c3f13290079506ae52444e (diff)
downloadchange-32f634e02a6ead1b69b608f95643e46bbdb37029.tar
change-32f634e02a6ead1b69b608f95643e46bbdb37029.tar.gz
change-32f634e02a6ead1b69b608f95643e46bbdb37029.tar.bz2
change-32f634e02a6ead1b69b608f95643e46bbdb37029.tar.lz
change-32f634e02a6ead1b69b608f95643e46bbdb37029.tar.xz
change-32f634e02a6ead1b69b608f95643e46bbdb37029.tar.zst
change-32f634e02a6ead1b69b608f95643e46bbdb37029.zip
Expand _vim_ filter definition
It now catches creation test files prefixed by a path as well as all fallback swap file extensions.
Diffstat (limited to 'src')
-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]