aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-10 01:54:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-10 01:56:48 +1200
commit7e79ea883a34099d24ad02a5709ee3f8e759606f (patch)
tree1c23d3e8607d06bd65419f8b288e292a957912a5
parentMove angle-bracket matchpairs to Perl filetype (diff)
downloaddotfiles-7e79ea883a34099d24ad02a5709ee3f8e759606f.tar.gz
dotfiles-7e79ea883a34099d24ad02a5709ee3f8e759606f.zip
Add explicit group to ftdetect rule
This isn't strictly necessary, as it's sourced into the group from filetype.vim, but making it explicit appeases vint.
-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/*