summaryrefslogtreecommitdiffstats
path: root/runtime/scripts.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-29 23:12:43 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-29 23:12:43 +0200
commit3b72f1d2aa702c6df0d093b39be646a96c11dfb7 (patch)
tree22f45081b72c7426b49805ca93c0900a8de28e0c /runtime/scripts.vim
parent48bae372e9090652168600d845e85ac19b2b64d4 (diff)
Dectect Perl6.
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r--runtime/scripts.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index 0b3b135798..e30b5c43fb 100644
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types in scripts
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2009 Dec 24
+" Last change: 2010 Jul 29
" This file is called by an autocommand for every file that has just been
" loaded into a buffer. It checks if the type of file can be recognized by
@@ -100,6 +100,10 @@ if s:line1 =~ "^#!"
elseif s:name =~ 'lua'
set ft=lua
+ " Perl 6
+ elseif s:name =~ 'perl6'
+ set ft=perl6
+
" Perl
elseif s:name =~ 'perl'
set ft=perl