aboutsummaryrefslogtreecommitdiffstats
path: root/ftdetect/diff.vim
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2019-04-30 14:58:48 +0200
committerMatěj Cepl <mcepl@cepl.eu>2019-04-30 14:58:48 +0200
commiteb7963bb951c8be77db72fe4f362208b9d1adb1e (patch)
tree28b3aecd476024a9270e74e06e26ac31f24269e1 /ftdetect/diff.vim
parent79bf3bf6e2e6350b200dc2b6b52ab98dafd2d138 (diff)
downloadvim-diff_navigator-eb7963bb951c8be77db72fe4f362208b9d1adb1e.tar.gz
Add ftdetect to set ft properly for .rej files
Diffstat (limited to 'ftdetect/diff.vim')
-rw-r--r--ftdetect/diff.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/diff.vim b/ftdetect/diff.vim
new file mode 100644
index 0000000..d6295da
--- /dev/null
+++ b/ftdetect/diff.vim
@@ -0,0 +1 @@
+au BufNewFile,BufRead *.diff,*.rej setf diff