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.vim9
1 files changed, 0 insertions, 9 deletions
diff --git a/vim/ftdetect/perl.vim b/vim/ftdetect/perl.vim
deleted file mode 100644
index 887a9fb6..00000000
--- a/vim/ftdetect/perl.vim
+++ /dev/null
@@ -1,9 +0,0 @@
-" 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/?*
- \ if filereadable(expand('<afile>:p:h:h') . '/Makefile.PL')
- \| setfiletype perl
- \|endif