aboutsummaryrefslogtreecommitdiff
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
parentb78d7ec711bdf8c6d2e71c46df08e502e7324f59 (diff)
downloaddotfiles-6319dc715f5d1a703f7bcea3a47a17eaac64e1e3.tar.gz
Accept "5" as suffix to Perl shebang word
-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