Permalink
Browse files

Highlight all files in gitolite-admin/conf/

Expect all files that have "gitolite-admin/conf/" in their path to be
gitolite configuration files.

Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
  • Loading branch information...
tmatilai committed Feb 8, 2010
1 parent 871f880 commit 6cf8c2641a5b3e231c2f1eeacbb41773df63f5db
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftdetect/gitolite.vim
View
@@ -1,2 +1,2 @@
-autocmd BufNewFile,BufRead gitolite.conf set filetype=gitolite
+autocmd BufNewFile,BufRead gitolite.conf,*/gitolite-admin/conf/* set filetype=gitolite
autocmd BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc set filetype=perl

0 comments on commit 6cf8c26

Please sign in to comment.