Skip to content

Commit

Permalink
Ignore Vim untitled and unsaved buffer swapfiles
Browse files Browse the repository at this point in the history
Vim creates buffer swapfiles starting at .swp for buffers that are
active but untitled and unsaved.
  • Loading branch information
nysa committed Mar 6, 2013
1 parent 0aeefb4 commit acce99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Global/vim.gitignore
@@ -1,4 +1,4 @@
.*.s[a-w][a-z]
*.s[a-w][a-z]
*.un~
Session.vim
.netrwhist
Expand Down

3 comments on commit acce99e

@twe4ked
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change ignores .sql files.

@nysa
Copy link
Contributor Author

@nysa nysa commented on acce99e Aug 28, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, it does. Here's the fix:

#751

@twe4ked
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @nysa.

Please sign in to comment.