Skip to content

Commit 3b8fcd9

Browse files
committed
patch 7.4.955
Problem: Vim doesn't recognize .pl6 and .pod6 files. Solution: Recognize them as perl6 and pod6. (Mike Eve, closes #511)
1 parent f609dcf commit 3b8fcd9

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

runtime/filetype.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ else
14001400
au BufNewFile,BufRead *.pl call s:FTpl()
14011401
endif
14021402
au BufNewFile,BufRead *.plx,*.al setf perl
1403-
au BufNewFile,BufRead *.p6,*.pm6 setf perl6
1403+
au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6
14041404

14051405
func! s:FTpl()
14061406
if exists("g:filetype_pl")
@@ -1429,6 +1429,7 @@ au BufNewFile,BufRead *.pm
14291429

14301430
" Perl POD
14311431
au BufNewFile,BufRead *.pod setf pod
1432+
au BufNewFile,BufRead *.pod6 setf pod6
14321433

14331434
" Php, php3, php4, etc.
14341435
" Also Phtml (was used for PHP 2 in the past)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
955,
744746
/**/
745747
954,
746748
/**/

0 commit comments

Comments
 (0)