mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0980: raku file extension not recognized
Problem: Raku file extension not recognized. (Steven Penny) Solution: Recognize .raku and .rakumod. (closes #6255)
This commit is contained in:
parent
65e0d77a66
commit
a65d8b5bb9
@ -1166,6 +1166,7 @@ else
|
|||||||
endif
|
endif
|
||||||
au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl
|
au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl
|
||||||
au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6
|
au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6
|
||||||
|
au BufNewFile,BufRead *.raku,*.rakumod setf perl6
|
||||||
|
|
||||||
" Perl, XPM or XPM2
|
" Perl, XPM or XPM2
|
||||||
au BufNewFile,BufRead *.pm
|
au BufNewFile,BufRead *.pm
|
||||||
|
@ -330,7 +330,7 @@ let s:filename_checks = {
|
|||||||
\ 'pccts': ['file.g'],
|
\ 'pccts': ['file.g'],
|
||||||
\ 'pdf': ['file.pdf'],
|
\ 'pdf': ['file.pdf'],
|
||||||
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc'],
|
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc'],
|
||||||
\ 'perl6': ['file.p6', 'file.pm6', 'file.pl6'],
|
\ 'perl6': ['file.p6', 'file.pm6', 'file.pl6', 'file.raku', 'file.rakumod'],
|
||||||
\ 'pf': ['pf.conf'],
|
\ 'pf': ['pf.conf'],
|
||||||
\ 'pfmain': ['main.cf'],
|
\ 'pfmain': ['main.cf'],
|
||||||
\ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
|
\ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp'],
|
||||||
|
@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
980,
|
||||||
/**/
|
/**/
|
||||||
979,
|
979,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user