diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-11 23:07:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-11 23:07:12 +1200 |
commit | 6319dc715f5d1a703f7bcea3a47a17eaac64e1e3 (patch) | |
tree | 6cda78bd39bea5c30cb1c81c60bdf61d62d6cd1d /vim/scripts.vim | |
parent | Add TCL shebang handling (diff) | |
download | dotfiles-6319dc715f5d1a703f7bcea3a47a17eaac64e1e3.tar.gz dotfiles-6319dc715f5d1a703f7bcea3a47a17eaac64e1e3.zip |
Accept "5" as suffix to Perl shebang word
Diffstat (limited to 'vim/scripts.vim')
-rw-r--r-- | vim/scripts.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/scripts.vim b/vim/scripts.vim index d179fde5..15a41a09 100644 --- a/vim/scripts.vim +++ b/vim/scripts.vim @@ -15,7 +15,7 @@ if s:line =~# '\m\<[gm]\?awk\>' setfiletype awk " Perl 5 -elseif s:line =~# '\m\<perl\>' +elseif s:line =~# '\m\<perl5\?\>' setfiletype perl " Perl 6 |