aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/ftdetect/perl.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/ftdetect/perl.vim b/vim/ftdetect/perl.vim
index 95830b0b..887a9fb6 100644
--- a/vim/ftdetect/perl.vim
+++ b/vim/ftdetect/perl.vim
@@ -1,9 +1,9 @@
" If it's a new file in a bin, libexec, or scripts subdir that has a
" Makefile.PL sibling, and I'm editing it, it's almost definitely Perl.
autocmd filetypedetect BufNewFile
- \ */bin/*
- \,*/libexec/*
- \,*/scripts/*
+ \ ?*/bin/?*
+ \,?*/libexec/?*
+ \,?*/scripts/?*
\ if filereadable(expand('<afile>:p:h:h') . '/Makefile.PL')
\| setfiletype perl
\|endif