Add swap files for vim to .gitignore.

This patch adds the most common swap files for vim to .gitignore. The
editor may leave those behind if is stopped or crashes.  We already
do the same kind of things for emacs.

ChangeLog:

        * .gitignore: Add swap files for vim.

diff --git a/.gitignore b/.gitignore
index d9eeaf2ed7a..43b85a6e127 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,9 @@
 .#*
 *#
 
+.*.swp
+.*.swo
+
 *.flt
 *.gmo
 *.info

Reply via email to