]> source.dussan.org Git - gitignore.git/commitdiff
Existing .gitignore for vim incorrectly matched matched ".swq" through ".swz". 2208/head
authorroubles <rouble@gmail.com>
Tue, 6 Dec 2016 03:38:27 +0000 (22:38 -0500)
committerroubles <rouble@gmail.com>
Tue, 6 Dec 2016 03:38:27 +0000 (22:38 -0500)
While will never be generated by the vim source code.
http://unix.stackexchange.com/questions/326707/vim-what-are-all-the-possible-swapfile-extensions

Global/Vim.gitignore

index bdc04a0b529b192db15e4a7a98450d94e5c5501d..42e7afc100512b21af0a3339fe851d21e3ee4ed5 100644 (file)
@@ -1,6 +1,8 @@
 # swap
-[._]*.s[a-w][a-z]
-[._]s[a-w][a-z]
+[._]*.s[a-v][a-z]
+[._]*.sw[a-p]
+[._]s[a-v][a-z]
+[._]sw[a-p]
 # session
 Session.vim
 # temporary