diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-10 01:54:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-10 01:56:48 +1200 |
commit | 7e79ea883a34099d24ad02a5709ee3f8e759606f (patch) | |
tree | 1c23d3e8607d06bd65419f8b288e292a957912a5 /vim/ftdetect | |
parent | Move angle-bracket matchpairs to Perl filetype (diff) | |
download | dotfiles-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.
Diffstat (limited to 'vim/ftdetect')
-rw-r--r-- | vim/ftdetect/perl.vim | 2 |
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/* |