aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/perl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect/perl.vim')
-rw-r--r--vim/ftdetect/perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftdetect/perl.vim b/vim/ftdetect/perl.vim
index 8b2e1b4e..21a782c6 100644
--- a/vim/ftdetect/perl.vim
+++ b/vim/ftdetect/perl.vim
@@ -1,6 +1,6 @@
" If it's a new file in a bin, libexec, or scripts subdir that has a
" Makefile.PL, it's almost definitely Perl.
-autocmd BufNewFile
+autocmd filetypedetect BufNewFile
\ */bin/*
\,*/libexec/*
\,*/scripts/*