aboutsummaryrefslogtreecommitdiff
path: root/vim/scripts.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-11 23:07:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-11 23:07:12 +1200
commit6319dc715f5d1a703f7bcea3a47a17eaac64e1e3 (patch)
tree6cda78bd39bea5c30cb1c81c60bdf61d62d6cd1d /vim/scripts.vim
parentAdd TCL shebang handling (diff)
downloaddotfiles-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.vim2
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