filetypedetect for perl6

5 views
Skip to first unread message

tyru

unread,
Jul 30, 2010, 10:53:11 AM7/30/10
to vim_dev
I want filetypedetect support for perl6 like this.


diff -r aaa953373c91 runtime/filetype.vim
--- a/runtime/filetype.vim Thu Jul 29 23:12:43 2010 +0200
+++ b/runtime/filetype.vim Fri Jul 30 23:49:55 2010 +0900
@@ -1278,6 +1278,9 @@
" PDF
au BufNewFile,BufRead *.pdf setf pdf

+" Perl 6
+au BufNewFile,BufRead *.p6,*.pm6 setf perl6
+
" Perl
if has("fname_case")
au BufNewFile,BufRead *.pl,*.PL call s:FTpl()

Bram Moolenaar

unread,
Jul 30, 2010, 3:48:38 PM7/30/10
to tyru, vim_dev

Tyru wrote:

OK.

--
Any resemblance between the above views and those of my employer, my terminal,
or the view out my window are purely coincidental. Any resemblance between
the above and my own views is non-deterministic. The question of the
existence of views in the absence of anyone to hold them is left as an
exercise for the reader. The question of the existence of the reader is left
as an exercise for the second god coefficient. (A discussion of
non-orthogonal, non-integral polytheism is beyond the scope of this article.)
(Ralph Jennings)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

tyru

unread,
Aug 1, 2010, 12:45:13 PM8/1/10
to vim_dev
When this patch included?

Dominique Pellé

unread,
Aug 1, 2010, 12:55:34 PM8/1/10
to vim...@googlegroups.com
tyru wrote:

> When this patch included?

It has already been included in vim73 branch (on July 30).
See:

$ hg diff -c c587f56735cc

-- Dominique

tyru

unread,
Aug 2, 2010, 5:06:04 AM8/2/10
to vim_dev
> It has already been included in vim73 branch (on July 30).
> See:
>
> $ hg diff -c c587f56735cc

My runtime files were not updated
So I mistook that, sorry.
Reply all
Reply to author
Forward
0 new messages