blob: 8b2e1b4ea4ad765ef48484edd72d65a45d1729a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
" 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
\ */bin/*
\,*/libexec/*
\,*/scripts/*
\ if filereadable(expand('<afile>:p:h:h') . '/Makefile.PL')
\| setfiletype perl
\|endif
|