# HG changeset patch # User Bram Moolenaar # Date 1618946105 -7200 # Node ID 54b6455e637ce9527f88032d9d4db8f8450538e7 # Parent 010cd5358355c6444ae618cd638b76e7b07bd0e5 patch 8.2.2790: filetype test fails Commit: https://github.com/vim/vim/commit/63276685f90fca8b1a0be3a6734759fa82b7be0c Author: Bram Moolenaar 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 diff --git a/runtime/scripts.vim b/runtime/scripts.vim --- 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 diff --git a/src/version.c b/src/version.c --- 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,