aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-22 08:21:06 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-02 12:54:02 -0400
commit0020858e1c22479fefc5a84c64e8eded3eeb97ef (patch)
tree7a8ec07ff30535bc8b25456c035042b21fd2bac0 /runtime
parent3bc852cabf5326079c710c772d5e925f3b151c3a (diff)
downloadrneovim-0020858e1c22479fefc5a84c64e8eded3eeb97ef.tar.gz
rneovim-0020858e1c22479fefc5a84c64e8eded3eeb97ef.tar.bz2
rneovim-0020858e1c22479fefc5a84c64e8eded3eeb97ef.zip
vim-patch:8.2.2788: Raku is now the only name what once was called perl6
Problem: Raku is now the only name what once was called perl6. Solution: Adjust the filetype detection. (closes vim/vim#8120) https://github.com/vim/vim/commit/3f88e71fa2b8b1fc97f3c218989474ea8687d197
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index bd572d6cf0..f0d2b36a84 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1207,8 +1207,6 @@ else
au BufNewFile,BufRead *.pl call dist#ft#FTpl()
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
@@ -1222,7 +1220,6 @@ au BufNewFile,BufRead *.pm
" Perl POD
au BufNewFile,BufRead *.pod setf pod
-au BufNewFile,BufRead *.pod6 setf pod6
" Php, php3, php4, etc.
" Also Phtml (was used for PHP 2 in the past)
@@ -1365,6 +1362,9 @@ au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python
" Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance
+" Raku (formelly Perl6)
+au BufNewFile,BufRead *.pm6,*.p6,*.t6,*.pod6,*.raku,*.rakumod,*.rakudoc,*.rakutest setf raku
+
" Ratpoison config/command files
au BufNewFile,BufRead .ratpoisonrc,ratpoisonrc setf ratpoison