comparison runtime/filetype.vim @ 24496:706cfd8bcba6 v8.2.2788

patch 8.2.2788: Raku is now the only name what once was called perl6 Commit: https://github.com/vim/vim/commit/3f88e71fa2b8b1fc97f3c218989474ea8687d197 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 20 20:21:23 2021 +0200 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 https://github.com/vim/vim/issues/8120)
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Apr 2021 20:30:07 +0200
parents 9f41bfdbc6fc
children 71bd205c72f5
comparison
equal deleted inserted replaced
24495:34bb8fd2da96 24496:706cfd8bcba6
1206 au BufNewFile,BufRead *.pl,*.PL call dist#ft#FTpl() 1206 au BufNewFile,BufRead *.pl,*.PL call dist#ft#FTpl()
1207 else 1207 else
1208 au BufNewFile,BufRead *.pl call dist#ft#FTpl() 1208 au BufNewFile,BufRead *.pl call dist#ft#FTpl()
1209 endif 1209 endif
1210 au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl 1210 au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl
1211 au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6
1212 au BufNewFile,BufRead *.raku,*.rakumod setf perl6
1213 1211
1214 " Perl, XPM or XPM2 1212 " Perl, XPM or XPM2
1215 au BufNewFile,BufRead *.pm 1213 au BufNewFile,BufRead *.pm
1216 \ if getline(1) =~ "XPM2" | 1214 \ if getline(1) =~ "XPM2" |
1217 \ setf xpm2 | 1215 \ setf xpm2 |
1221 \ setf perl | 1219 \ setf perl |
1222 \ endif 1220 \ endif
1223 1221
1224 " Perl POD 1222 " Perl POD
1225 au BufNewFile,BufRead *.pod setf pod 1223 au BufNewFile,BufRead *.pod setf pod
1226 au BufNewFile,BufRead *.pod6 setf pod6
1227 1224
1228 " Php, php3, php4, etc. 1225 " Php, php3, php4, etc.
1229 " Also Phtml (was used for PHP 2 in the past) 1226 " Also Phtml (was used for PHP 2 in the past)
1230 " Also .ctp for Cake template file 1227 " Also .ctp for Cake template file
1231 au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp setf php 1228 au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp setf php
1363 au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc setf python 1360 au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc setf python
1364 au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python 1361 au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python
1365 1362
1366 " Radiance 1363 " Radiance
1367 au BufNewFile,BufRead *.rad,*.mat setf radiance 1364 au BufNewFile,BufRead *.rad,*.mat setf radiance
1365
1366 " Raku (formelly Perl6)
1367 au BufNewFile,BufRead *.pm6,*.p6,*.t6,*.pod6,*.raku,*.rakumod,*.rakudoc,*.rakutest setf raku
1368 1368
1369 " Ratpoison config/command files 1369 " Ratpoison config/command files
1370 au BufNewFile,BufRead .ratpoisonrc,ratpoisonrc setf ratpoison 1370 au BufNewFile,BufRead .ratpoisonrc,ratpoisonrc setf ratpoison
1371 1371
1372 " RCS file 1372 " RCS file