Patch 8.2.0980

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 14, 2020, 2:05:31 PM6/14/20
to vim...@googlegroups.com

Patch 8.2.0980
Problem: Raku file extension not recognized. (Steven Penny)
Solution: Recognize .raku and .rakumod. (closes #6255)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.0979/runtime/filetype.vim 2020-06-10 22:07:49.211556606 +0200
--- runtime/filetype.vim 2020-06-14 19:58:11.398064614 +0200
***************
*** 1166,1171 ****
--- 1166,1172 ----
endif
au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl
au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6
+ au BufNewFile,BufRead *.raku,*.rakumod setf perl6

" Perl, XPM or XPM2
au BufNewFile,BufRead *.pm
*** ../vim-8.2.0979/src/testdir/test_filetype.vim 2020-06-10 22:07:49.211556606 +0200
--- src/testdir/test_filetype.vim 2020-06-14 19:55:59.298604048 +0200
***************
*** 330,336 ****
\ 'pccts': ['file.g'],
\ 'pdf': ['file.pdf'],
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc'],
! \ 'perl6': ['file.p6', 'file.pm6', 'file.pl6'],
\ 'pf': ['pf.conf'],
\ 'pfmain': ['main.cf'],
\ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
--- 330,336 ----
\ 'pccts': ['file.g'],
\ 'pdf': ['file.pdf'],
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc'],
! \ 'perl6': ['file.p6', 'file.pm6', 'file.pl6', 'file.raku', 'file.rakumod'],
\ 'pf': ['pf.conf'],
\ 'pfmain': ['main.cf'],
\ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
*** ../vim-8.2.0979/src/version.c 2020-06-14 16:43:43.428825203 +0200
--- src/version.c 2020-06-14 19:57:20.694271562 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 980,
/**/

--
Some say the world will end in fire; some say in segfaults.
I say it will end in a curly bracket.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages