summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/yumconf.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftdetect/yumconf.vim b/ftdetect/yumconf.vim
new file mode 100644
index 0000000..1342058
--- /dev/null
+++ b/ftdetect/yumconf.vim
@@ -0,0 +1,2 @@
+au BufNewFile,BufRead *.repo set filetype=yumconf
+au BufNewFile,BufRead /etc/yum.conf set filetype=yumconf