From 7e79ea883a34099d24ad02a5709ee3f8e759606f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 10 Jul 2018 01:54:29 +1200 Subject: 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. --- vim/ftdetect/perl.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/ftdetect') 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/* -- cgit v1.2.3