Dectect Perl6.
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
" Vim support file to detect file types in scripts
|
" Vim support file to detect file types in scripts
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" 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
|
" 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
|
" 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'
|
elseif s:name =~ 'lua'
|
||||||
set ft=lua
|
set ft=lua
|
||||||
|
|
||||||
|
" Perl 6
|
||||||
|
elseif s:name =~ 'perl6'
|
||||||
|
set ft=perl6
|
||||||
|
|
||||||
" Perl
|
" Perl
|
||||||
elseif s:name =~ 'perl'
|
elseif s:name =~ 'perl'
|
||||||
set ft=perl
|
set ft=perl
|
||||||
|
|||||||
Reference in New Issue
Block a user