Skip to content

Commit 097b773

Browse files
Fznamznonvmaksimo
authored andcommitted
Improve ignoring of vim swap files by git
When a file opened in vim multiple times, vim starts producing swap files with different extensions, for example .swo. Add them to gitignore so git doesn't highlight them.
1 parent eb33c58 commit 097b773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-spirv/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build/
1818
# Byte compiled python modules.
1919
*.pyc
2020
# vim swap files
21-
.*.swp
21+
.*.sw?
2222
.sw?
2323
#OS X specific files.
2424
.DS_store

0 commit comments

Comments
 (0)