changeset 24500:54b6455e637c v8.2.2790

patch 8.2.2790: filetype test fails Commit: https://github.com/vim/vim/commit/63276685f90fca8b1a0be3a6734759fa82b7be0c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 20 21:14:09 2021 +0200 patch 8.2.2790: filetype test fails Problem: filetype test fails Solution: Also update the scripts detection
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Apr 2021 21:15:05 +0200
parents 010cd5358355
children f9f7dc993602
files runtime/scripts.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@ -110,10 +110,6 @@ if s:line1 =~# "^#!"
   elseif s:name =~# 'lua'
     set ft=lua
 
-    " Perl 6
-  elseif s:name =~# 'perl6'
-    set ft=perl6
-
     " Perl
   elseif s:name =~# 'perl'
     set ft=perl
@@ -130,6 +126,10 @@ if s:line1 =~# "^#!"
   elseif s:name =~# '^groovy\>'
     set ft=groovy
 
+    " Raku
+  elseif s:name =~# 'raku'
+    set ft=raku
+
     " Ruby
   elseif s:name =~# 'ruby'
     set ft=ruby
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2790,
+/**/
     2789,
 /**/
     2788,