aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/diff.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect/diff.vim')
-rw-r--r--vim/ftdetect/diff.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftdetect/diff.vim b/vim/ftdetect/diff.vim
new file mode 100644
index 00000000..d19fc450
--- /dev/null
+++ b/vim/ftdetect/diff.vim
@@ -0,0 +1,4 @@
+" Diff and patch files
+autocmd BufNewFile,BufRead
+ \ *.diff,*.patch,*.rej
+ \ setfiletype diff